Page 2 of 2

Re: ECR6600-TS2D_TuyaOS-3.8.4进入低功耗和唤醒有没有DEMO

Posted: 2024年 Mar 29日 15:49
by 小螃海

您好,3.5.7版本添加定时器接口时编译提示错误,相关头文件tkl_timer.h己经添加。
home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/apps/19KWT_AXYU/src/my_apps.c:1463: undefined reference to tkl_timer_init'
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/libs/lib19KWT_AXYU.a(my_apps.c.o): In function
send_sensor_message':
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/apps/19KWT_AXYU/src/my_apps.c:1463: undefined reference to tkl_timer_init'
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/apps/19KWT_AXYU/src/my_apps.c:1463: undefined reference to
tkl_timer_init'
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/libs/lib19KWT_AXYU.a(my_apps.c.o): In function timer_sensor_cb':
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/apps/19KWT_AXYU/src/my_apps.c:1463: undefined reference to
tkl_timer_init'
/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/libs/lib19KWT_AXYU.a(my_apps.c.o):/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/apps/19KWT_AXYU/src/my_apps.c:1463: more undefined references to `tkl_timer_init' follow
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:208:build/19KWT_AXYU/19KWT_AXYU.elf] 错误 1
make[3]: 离开目录“/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/vendor/eswin_ecr6600/eswin_ecr6600_os”
make[2]: *** [Makefile:115:all] 错误 2
make[2]: 离开目录“/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/vendor/eswin_ecr6600/eswin_ecr6600_os”
make[1]: *** [makefile:11:all] 错误 2
make[1]: 离开目录“/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/vendor/eswin_ecr6600/eswin_ecr6600_os/Boards/ecr6600/tuya”
make: *** [/home/wp/桌面/AXYU/ECR6600-TS2D_TuyaOS-3.5.7/software/TuyaOS/scripts/mk/app.mk:191:app_by_name] 错误 2


Re: ECR6600-TS2D_TuyaOS-3.8.4进入低功耗和唤醒有没有DEMO

Posted: 2024年 Mar 29日 16:00
by 小螃海

您好,添加定时器接口,并且也添加了头文件tkl_timer.h提示错误


Re: ECR6600-TS2D_TuyaOS-3.8.4进入低功耗和唤醒有没有DEMO

Posted: 2024年 Mar 29日 16:01
by 小螃海

这个之前在3.8.4上编译是正常的