取消独立升级。修复编译错误。支持Ble和sle

This commit is contained in:
2025-07-13 16:27:00 +08:00
parent 4ae4967cef
commit 9bdd0f9caa
7 changed files with 781 additions and 12 deletions

View File

@ -124,6 +124,9 @@ def all_build():
os.makedirs(temp_dir)
build_update_package(os.path.join(info.upg_output, "update.fwpkg"), temp_dir, info.upg_output)
print("gen package.zip")
file_dir = os.path.dirname(os.path.abspath(__file__))
os.system("cd " + file_dir + " && python3 package.py")
fwpkg_src_file = os.path.join(info.output, "fwpkg", "ws63-liteos-app-iot", "ws63-liteos-app-iot_all.fwpkg")
copy_files = {
@ -182,4 +185,4 @@ if __name__ == "__main__":
elif sys.argv[1] == "all":
all_build()
else:
print("param err, should be: 'sdk' or 'all'")
print("param err, should be: 'sdk' or 'all'")