Search found 4 matches

by 15902093507
2025年 Dec 17日 19:18
Forum: TuyaOS-联网单品开发
Topic: T5AI-Board 开发板的SD卡怎么检测插拔状态
Replies: 1
Views: 233

T5AI-Board 开发板的SD卡怎么检测插拔状态

如题

微信图片_20251216180425_1009_244.png

我设置这个SDCARD_CHECK_INSERTION_EN为y后,
在加载完SD卡后,执行
extern bool sd_card_get_insert_status(void);
TAL_PR_DEBUG("sd card %d", sd_card_get_insert_status());
然后运行程序卡死了
日志也没有crash日志出来,无法分析

微信图片_20251216180425_1009_244.png
微信图片_20251217190140_1041_244.png
by 15902093507
2025年 Jul 14日 16:21
Forum: TuyaOS 开发
Topic: TuyaOS SDK开发调用example_http显示错误device not connect cloud
Replies: 2
Views: 17401

TuyaOS SDK开发调用example_http显示错误device not connect cloud

如题:
TuyaOS SDK开发调用example_http显示错误device not connect cloud

by 15902093507
2025年 Jul 2日 17:02
Forum: TuyaOS-联网单品开发
Topic: 调用tal_thread_create_and_start接口失败,返回-3,内存分配失败,
Replies: 1
Views: 1032

调用tal_thread_create_and_start接口失败,返回-3,内存分配失败,

调用tal_thread_create_and_start接口失败,返回-3,内存分配失败;
尝试了改THREAD_CFG_T thrd_param = {6*1024, 3, "tuya_app_main"};参数;stackDepth改大改小都没用;

by 15902093507
2025年 Jul 1日 14:11
Forum: TuyaOS-工具讨论
Topic: Tuya SDK 移植报错can not be used when making a shared object; recompile with -fPIC
Replies: 1
Views: 63698

Tuya SDK 移植报错can not be used when making a shared object; recompile with -fPIC

/arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(base_event.c.o): relocation R_ARM_MOVW_ABS_NC against a local symbol' can not be used when making a shared object; recompile with -fPIC /arm-pc-linux-gnueabihf/bin/ld.exe: tuya/libs/libtuyaos.a(tuya_base_utilities.c.o): relocation R_ARM_MOVW_...