代码准备 
Luban-Lite SDK 的代码托管于 Gitee 服务器中,为开源代码,可以直接从下面的仓库地址中下载:
Git 
推荐通过 Git 客户端下载代码,可以实时关注服务器补丁和版本的发布
bash
git clone https://gitee.com/artinchip/luban-lite.git1
HTTP 
也可以通过网络下载的方式直接下载压缩包
-在 Gitee 上找到 Luban 仓库:https://gitee.com/artinchip/luban-lite
-在仓库主界面点击 “克隆/下载” 按钮
-在 “克隆/下载” 界面选择 “下载ZIP”
注释
Luban-Lite 建议在 Windows 上下载和使用
目录总览 
bash
luban-lite $ tree -L 2
├── application     // 存放APP入口,helloword 应用的 main函数
│   ├── baremetal
│   ├── freertos
│   ├── Kconfig
│   └── rt-thread
├── bsp // 存放BSP代码,和RT-Thread原生的bsp目录功能相同
│   ├── artinchip // ArtInChip SoC内部的driver、hal以及最小系统sys代码
│   ├── common    // 公共头文件
│   ├── peripheral       // 一些外设模块的驱动
│   ├── examples_bare    // 各模块在裸机环境的示例代码
│   └── examples         // 各模块在RTOS环境的示例代码
│       ├── test-alarm
│       ├── test-audio
│       ├── test-can
│       ├── test-dma
│       ├── test-qspi
│       ├── test-touch
│       └── test-uart
├── doc // Luban-Lite SDK的介绍文档
│   ├── luban-lite_driver_development_guid.md  // 设备驱动开发指南
│   ├── luban-lite_sdk_design.md // SDK设计说明
│   ├── luban-lite_user_guid_linux.md // Linux环境的用户使用说明
│   └── luban-lite_user_guid_windows.md // Windows环境的用户使用说明
├── win_env.bat // 启动RT-Thread的env工具,用于Windows环境的开发
├── win_cmd.bat // 启动CMD.exe,用于Windows环境的开发
├── kernel // 存放各种RTOS内核
│   ├── baremetal
│   ├── common
│   ├── freertos
│   └── rt-thread
├── output // SDK的编译输出
├── packages // 组件包
│   ├── artinchip // ArtInChip开发的组件包
│   └── third-party // 第三方的组件包
├── target // 方案(板)级的代码和配置
│   ├── configs // 整个方案的SDK配置文件
│   ├── d12x    //D12x 开发板配置
│   │   ├── common
│   │   ├── demo68-nand
│   │   ├── demo68-nor
│   │   └── hmi-nor
│   ├── d13x    //D13x 开发板配置
│   │   ├── common
│   │   ├── demo88-nand
│   │   ├── demo88-nor
│   │   └── kunlunpi88-nor
│   ├── d21x    //D21x 开发板配置
│   │   ├── common
│   │   └── demo128-nand
│   └── g73x    //G73x 开发板配置
│       ├── common
│       └── demo100-nor
├── toolchain // 解压后的工具链存放目录
└── tools // 一些工具
    ├── onestep.sh  // ArtInChip开发的OneStep命令行增强工具
    └── toolchain // 工具链的压缩包1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58