新版卡配置
- 添加项目根据“新板卡信息”,使用与 SDK 已包含的最接近的项目进行添加。 例如:一块新板卡基本信息: D133CBV(D133 88pin)、XXXbond
NAND Flash、UART1 。 执行
scons --add-board
$ scons --add-board scons: Reading SConscript files ... Chip list: 0: xxxxx 1: d12x 2: d13x 3: d21x Select chip for new board(number):2 d13x Reference defconfig:(Create new board base on selected defconfig): 0: d13x_demo88-nand_rt-thread_helloworld_defconfig 1: d13x_demo88-nor-xip_rt-thread_helloworld_defconfig 2: d13x_demo88-nor_baremetal_helloworld_defconfig 3: d13x_demo88-nor_rt-thread_helloworld_defconfig 4: d13x_per1-nand_baremetal_helloworld_defconfig 5: d13x_per1-nand_rt-thread_helloworld_defconfig 6: d13x_per1-nor_baremetal_helloworld_defconfig 7: d13x_per1-nor_rt-thread_helloworld_defconfig Select reference defconfig for new board(number):0 d13x_demo88-nand_rt-thread_helloworld_defconfig Input new board's name:test test Input new app's name: (default helloworld)test test Input manufacturer's name:test test Copy /home/xxxxx/luban-lite/target/configs/d13x_demo88-nand_rt-thread_helloworld_defconfig to /home/xxxxxx/luban-lite/target/configs/d13x_test_rt-thread_test_defconfig Copy /home/xxxxx/luban-lite/target/configs/d13x_demo88-nand_baremetal_bootloader_defconfig to /home/xxxxxx/luban-lite/target/configs/d13x_test_baremetal_bootloader_defconfig Copy /home/xxxxx/luban-lite/target/d13x/demo88-nand to /home/xxxxxx/luban-lite/target/d13x/test Add board test for test succeed!
- 修改配置
- BootLoader
$ lunch d13x_test_baremetal_bootloader_defconfig # 选择新建项目的 BootLoader 配置 $ scons --menuconfig # 进入配置页面
- 修改串口配置如下:
- 修改 Nand Flash 配置如下:
- RT-Thread
-
修改串口配置如下:
- 修改 Nand Flash 配置如下:
-
- BootLoader
-
修改完以上配置,保存、编译、烧录之后,新板卡的最小系统即可正常工作。注:
更改接口配置时,请确保 pinmux 没有冲突,否则可能会引起未知错误。