像 “-*- Enable SPI NOR driver test command ”这种怎么更改?目前知道Y,N,+,-; 还有些按键触发怪怪的
离线
因主控是D21x——100pin,但是flash是nand的,所以需要新建工程,而选择参照的demo,只有D21-100pin-nor的,也就nor flash;目前怀疑是这个工程是对应nor的flash,导致参照这个工程新建工程,将nor flash的一些配置写死了,按照手册切换存储方式,有些配置去不掉,将nand的配置加上,就会报错,说sfud这个文件没有
离线
通过help查看该选项依赖关系,看这个选项是被哪些已选选项选中的,Selected by那一行。
最近编辑记录 狼狼 (2026-01-03 18:39:18)
离线
根据help去处理,切换存储工作完成,但是编译出现了以下问题:
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "E:\ALL_Project\new_project\luban-lite-master\SConstruct", line 20, in <module>
Newlib version:3.2.0
nftl use lib ....
E:\ALL_Project\new_project\luban-lite-master\kernel\rt-thread
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: output\d21x_d100-nand_rt-thread_work-project
LINK output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
-rw-r--r-- 1 11923880 Jan 4 09:34 output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
riscv64-unknown-elf-objcopy -O binary output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf output/d21x_d100-nand_rt-thread_work-project/images/d21x.bin
riscv64-unknown-elf-size output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
text data bss dec hex filename
1579664 19248 243184 1842096 1c1bb0 output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --clean rodata/,data/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --src E:\ALL_Project\new_project\luban-lite-master\packages\artinchip\lvgl-ui\aic_demo\demo_hub\assets/1024x600/ --dst rodata/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/fsinstall.py --sdkout E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/ --src E:\ALL_Project\new_project\luban-lite-master\packages\artinchip\aic-startup-ui\assets/ --dst data/
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/linked_size.py -m E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/d21x.map
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/makefatfs.py --fullpart --volab default --cluster 8 --sector 512 --tooldir E:\ALL_Project\new_project\luban-lite-master\tools/scripts/ --inputdir rodata --outfile E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/rodata.fatfs
python3 E:\ALL_Project\new_project\luban-lite-master\tools/scripts/makefatfs.py --fullpart --volab default --cluster 8 --sector 512 --tooldir E:\ALL_Project\new_project\luban-lite-master\tools/scripts/ --inputdir data --outfile E:\ALL_Project\new_project\luban-lite-master\output/d21x_d100-nand_rt-thread_work-project/images/data.fatfs
Image data.fatfs is not used in any partition
please check your project's image_cfg.json
Disk full
scons: *** [output\d21x_d100-nand_rt-thread_work-project\images\d21x.elf] Error 1
scons: building terminated because of errors.
离线

看着意思好像是缺了什么文件?制作镜像失败了
离线