您尚未登录。

楼主 # 2026-01-03 15:49:53

beyond_yourself
会员
注册时间: 2026-01-03
已发帖子: 4
积分: 4

menuconfig的热键以及选项问题

像   “-*- Enable SPI NOR driver test command ”这种怎么更改?目前知道Y,N,+,-; 还有些按键触发怪怪的

离线

楼主 #1 2026-01-03 17:43:46

beyond_yourself
会员
注册时间: 2026-01-03
已发帖子: 4
积分: 4

Re: menuconfig的热键以及选项问题

因主控是D21x——100pin,但是flash是nand的,所以需要新建工程,而选择参照的demo,只有D21-100pin-nor的,也就nor flash;目前怀疑是这个工程是对应nor的flash,导致参照这个工程新建工程,将nor flash的一些配置写死了,按照手册切换存储方式,有些配置去不掉,将nand的配置加上,就会报错,说sfud这个文件没有

离线

#2 2026-01-03 18:38:55

狼狼
会员
注册时间: 2020-06-14
已发帖子: 103
积分: 142

Re: menuconfig的热键以及选项问题

通过help查看该选项依赖关系,看这个选项是被哪些已选选项选中的,Selected by那一行。

最近编辑记录 狼狼 (2026-01-03 18:39:18)

离线

楼主 #3 昨天 09:37:00

beyond_yourself
会员
注册时间: 2026-01-03
已发帖子: 4
积分: 4

Re: menuconfig的热键以及选项问题

根据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.

离线

楼主 #4 昨天 09:39:47

beyond_yourself
会员
注册时间: 2026-01-03
已发帖子: 4
积分: 4

Re: menuconfig的热键以及选项问题

_20260104093614.png

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

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


太原小智科技有限责任公司 - 东莞哇酷科技有限公司联合开发