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

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
小螃海
Posts: 45

您好,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

小螃海
Posts: 45

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

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

Attachments
1711699184783.png
小螃海
Posts: 45

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

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

Post Reply