我在玩lvgl,发现原厂居然把lvgl放到了luban-lite\packages\artinchip下面,而不是luban-lite\packages\third-party。
我把lvgl剥离放到luban-lite\packages\third-party下面后,编译OK,但是加上自己的UI后,编译报错如下:
python3 D:\workspace\luban-lite\tools/scripts/elf_parse.py output\d13x_kunlunpi88_rt-thread_smarthome\images\d13x.elf D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/ riscv64-unknown-elf-
D:\workspace\luban-lite\tools/scripts/mk_image.exe -v -c D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/image_cfg.json -d D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/d13x_os.itb ...
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/env.bin ...
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/usbupg-psram-init.aic ...
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/pbp_ext.aic ...
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/loader.aic ...
Creating D:\workspace\luban-lite\output/d13x_kunlunpi88_rt-thread_smarthome/images/bootloader.aic ...
Image header is generated.
Meta data for image components:
Meta for image.updater.psram offset 0x1600 size 0x7010 (28688)
Meta for image.updater.spl offset 0x8e00 size 0x33610 (210448)
Meta for image.info offset 0x0 size 0x800 (2048)
Meta for image.target.spl offset 0x3c600 size 0x33610 (210448)
Meta for image.target.env offset 0x6fe00 size 0x1000 (4096)
d13x_os.itb file_size: 0x2fa800 is over much than part_size: 0x200000
scons: *** [output\d13x_kunlunpi88_rt-thread_smarthome\images\d13x.elf] Error 1
scons: building terminated because of errors.
请问是需要注意什么呢
离线
查了一下,是我的os分区小了,改大就好了
离线