@@ -118,6 +118,7 @@
// 国密算法 SM2/SM3/SM4
// #define LUAT_USE_GMSSL 1
+// #define LUAT_USE_ICONV 1
//---------------------
// UI
@@ -258,6 +258,9 @@ static const luaL_Reg loadedlibs[] = {
#endif
#ifdef LUAT_USE_GMSSL
{"gmssl", luaopen_gmssl}, // 国密算法
+#endif
+#ifdef LUAT_USE_ICONV
+ {"iconv", luaopen_iconv},
{NULL, NULL}
};
@@ -523,7 +523,7 @@ end
end
os.cp("./project/air105/soc_download.exe", "$(buildir)/out/soc_download.exe")
os.cd("$(buildir)/out")
- os.run(path7z.." a LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe")
+ os.run(path7z.." a -mx9 LuatOS-SoC_"..AIR105_VERSION.."_AIR105.soc info.json bootloader.bin app.bin soc_download.exe")
os.rm("$(buildir)/out/info.json")
os.rm("$(buildir)/out/soc_download.exe")
else