【已解决】【TuyaOS SDK】提取TuyaOS SDK_6.1.2后,执行make命令报错
提取TuyaOS SDK_6.1.2后,进入 software/sdk_6.1.2/ 目录,执行命令 make报错(使用任何一款芯片都是一样的报错和log):下面报错的Log,我感觉是否因为IDE最新更新了版本(我看是2-29日IDE刚更新了一版)的问题,这个是最基本的SDK操作呀,或者就是我这边哪里有问题,所以想请教一下
~/Documents/tuya/Projects/IPC_SSC377_TuyaOS-3.9.2/software/sdk_6.1.2$ make
CC demo_tuyaos_app/app_lowpower_sample/src/lp_auth.c
demo_tuyaos_app/app_lowpower_sample/src/lp_auth.c: In function ‘lp_auth_sign’:
demo_tuyaos_app/app_lowpower_sample/src/lp_auth.c:56:5: warning: implicit declaration of function ‘mbedtls_base64_encode’ [-Wimplicit-function-declaration]
56 | mbedtls_base64_encode(pb64d, *psz, psz, digest, 32);
| ~~~~~~~~~~~~~~~~~
CC demo_tuyaos_app/app_lowpower_sample/src/crc32i.c
CC demo_tuyaos_app/app_lowpower_sample/src/lp_protocol.c
CC demo_tuyaos_app/app_lowpower_sample/src/lp_cli.c
In file included from ./sdk//include/components/lib_tls/include/mbedtls/build_info.h:60,
from ./sdk//include/components/lib_tls/include/mbedtls/base64.h:25,
from demo_tuyaos_app/app_lowpower_sample/src/lp_cli.c:11:
./sdk//include/components/lib_tls/include/mbedtls/tuya_tls_security_config.h:45:14: fatal error: tuya_tls_security_L1_default_config.h: No such file or directory
45 | #include "tuya_tls_security_L1_default_config.h"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:90: output/demo/.objs/./demo_tuyaos_app/app_lowpower_sample/src/lp_cli.c.o] Error 1