3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件

Wi-Fi 设备、蜂窝设备、WuKongAI、开发板、TuyaOS 移植等


Post Reply
New
Posts: 12

3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件。软件定时器怎么使用?

Attachments
日志.txt
(115.91 KiB) Downloaded 7 times

Tags:
愚者千虑必有一得
Posts: 834

Re: 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发出来看看。

New
Posts: 12

Re: 3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件

换成tuya_ai_display()函数显示就行了。

愚者千虑必有一得
Posts: 834

Re: 3.12.16 AI_TOY_DEMO,tuya_ai_toy.c中调用tuya_ai_display.h中的tuya_ui_app()函数编译报错,已经包含了头文件

New 2025年 Sep 15日 13:46

换成tuya_ai_display()函数显示就行了。

tuya_ui_app是跑在cp1的,tuya_ai_display是cp0的。cp0没有链接lvgl。

Post Reply