3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件
Posted: 2025年 Sep 14日 16:30
3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件。软件定时器怎么使用?
简单、多彩、自由讨论
https://tuyaos.com/
3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件。软件定时器怎么使用?
你这个编译有两个问题:
1,固件超大了
Code: Select all
/home/tuya/Desktop/T5_TuyaOS-3.12.16/software/TuyaOS/vendor/T5/toolchain/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: ROM overflow!!!
/home/tuya/Desktop/T5_TuyaOS-3.12.16/software/TuyaOS/vendor/T5/toolchain/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 692104 bytes
2,lvgl应该没有链接进来,可以把你的tuya_app_config.h发出来看看。
换成tuya_ai_display()函数显示就行了。
tuya_ui_app是跑在cp1的,tuya_ai_display是cp0的。cp0没有链接lvgl。