Skip to content

Commit

Permalink
fix: tls_disable与tts_onchip在xmake.lua里没处理对,导致依然是64k脚本区
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Nov 29, 2023
1 parent 280ff62 commit f4b74a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ target(USER_PROJECT_NAME..".elf")

local mem_map_data = io.readfile("$(projectdir)/PLAT/device/target/board/ec618_0h00/common/inc/mem_map.h")
FLASH_FOTA_REGION_START = tonumber(mem_map_data:match("#define FLASH_FOTA_REGION_START%s+%((%g+)%)"))
if TTS_ONCHIP or os.getenv("LUAT_USE_TTS_ONCHIP") == "1" and not TLS_DISABLE then
if (TTS_ONCHIP or os.getenv("LUAT_USE_TTS_ONCHIP") == "1") and not TLS_DISABLE then
LUAT_SCRIPT_SIZE = 64
LUAT_SCRIPT_OTA_SIZE = 48
elseif os.getenv("LUAT_EC618_LITE_MODE") == "1" then
Expand Down

0 comments on commit f4b74a4

Please sign in to comment.