Search found 2 matches

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

调用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: 49

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_...