我从Tuya Wind IDE 下载了Tuya OS开发框架,我想使用SDK的开发方式进行开发。按照文档文档 中的描述,我需要提取SDK的库文件和头文件,但是我的目录下没有指定的脚本文件software/TuyaOS/scripts/extract_standalone_sdk.sh
【已解决】【SDK6.x开发】提取 SDK 库与头文件
-
- Posts: 17
- pippin-bobo
- Posts: 236
Re: 【SDK6.x开发】提取 SDK 库与头文件
请问有按照文档说明,先“编译构建”吗?
-
- Posts: 17
Re: 【SDK6.x开发】提取 SDK 库与头文件
有的我使用的构建方式是“可视化界面”构建方式,下面是结尾处的构建日志。
/home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/vendor/sv82x/tuyaos/../toolchain/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
16
template
call bsp sh build.sh start
../../../build/tuya_app.config
CONFIG_STATUS=1
0
###########################
No need to rebuild, skip!
###########################
call bsp sh build.sh end
/home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/apps/tuyaos_demo_ipc
make[1]: Entering directory '/home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/apps/tuyaos_demo_ipc'
/home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/vendor/sv82x/tuyaos/../toolchain/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fno-aggressive-loop-optimizations -fstack-protector-all -D_FORTIFY_SOURCE=2 -z now -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -Os -ffunction-sections -Wl,--gc-sections,--no-whole-archive,--no-export-dynamic -Xlinker "-(" /home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/libs/.a /home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/output/bsp/bsp_sdk/lib/.a -lpthread -ldl -lm -lstdc++ -lrt -lcrypt -Xlinker "-)" -o ./../../output/sv82x_tuyaos_demo_ipc/firmware/tuyaos_demo_ipc
make[1]: Leaving directory '/home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/apps/tuyaos_demo_ipc'
pack img
-e FIRMWARE PATH : /home/broadxt/Documents/tuya/Projects/SV823_TuyaOS-3.9.0/software/TuyaOS/output/sv82x_tuyaos_demo_ipc/firmware/tuyaos_demo_ipc
------ build app(tuyaos_demo_ipc) end ---------
-
- Posts: 17
Re: 【SDK6.x开发】提取 SDK 库与头文件
显示No need to rebuild,skip是因为我这是第二次构建的原因。
Re: 【SDK6.x开发】提取 SDK 库与头文件
此功能只在公版做了,如果想提取SDK库和头文件,可参考下面这个帖子
https://www.tuyaos.com/viewtopic.php?t=2861
-
- Posts: 17
Re: 【SDK6.x开发】提取 SDK 库与头文件
好的,解决了!感谢!