feat: default to flash non assets

This commit is contained in:
Terrence
2025-09-10 01:02:23 +08:00
parent d04b08133f
commit bce662d135
4 changed files with 99 additions and 56 deletions

View File

@@ -105,8 +105,8 @@ def release(board_type, board_config, config_filename="config.json"):
# Append sdkconfig
with open("sdkconfig", "a") as f:
f.write("\n")
f.write("# Release\n")
f.write("CONFIG_FLASH_DEFAULT_ASSETS=n\n")
f.write("# Append by release.py\n")
f.write("CONFIG_FLASH_NONE_ASSETS=y\n")
for append in sdkconfig_append:
f.write(f"{append}\n")
# Build with macro BOARD_NAME defined to name