页次: 1
基本跟test_psadc例程一样,就是struct aic_psadc_ch aic_psadc_chs[]改成struct aic_psadc_ch aic_psadc_chs2[] ;struct aic_psadc_queue aic_psadc_queues改成struct aic_psadc_queue aic_psadc_queues2,然后把函数中的对应数组名也改了,但是跑到test_psadc_get_adc()里面的 hal_psadc_read_poll(),就跑不过去了,这是为什么,用的PA9,psadc9,而且rtconfig里面#define AIC_PSADC_TRIG_BY_SOFT
#define AIC_USING_PSADC9 都没有值,menuconfig按照手册修改了的
ws1850t,读卡芯片,有适配就最好,没有就只能尝试参考WS1850T的配置,在工程里自己配一个了

看着意思好像是缺了什么文件?制作镜像失败了
根据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.
因主控是D21x——100pin,但是flash是nand的,所以需要新建工程,而选择参照的demo,只有D21-100pin-nor的,也就nor flash;目前怀疑是这个工程是对应nor的flash,导致参照这个工程新建工程,将nor flash的一些配置写死了,按照手册切换存储方式,有些配置去不掉,将nand的配置加上,就会报错,说sfud这个文件没有
像 “-*- Enable SPI NOR driver test command ”这种怎么更改?目前知道Y,N,+,-; 还有些按键触发怪怪的
页次: 1