mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/app_type_elf_reduce_ram_v4.4' into 'release/v4.4'
CI: reduce memory footprint for "Loadable ELF build" (v4.4) See merge request espressif/esp-idf!20227
This commit is contained in:
commit
c070c58ef3
@ -800,6 +800,13 @@ endmenu\n" >> ${IDF_PATH}/Kconfig
|
||||
|
||||
print_status "Loadable ELF build works"
|
||||
echo "CONFIG_APP_BUILD_TYPE_ELF_RAM=y" > sdkconfig
|
||||
|
||||
# Set recommend configs to reduce memory footprint
|
||||
echo "CONFIG_VFS_SUPPORT_TERMIOS=n" >> sdkconfig
|
||||
echo "CONFIG_NEWLIB_NANO_FORMAT=y" >> sdkconfig
|
||||
echo "CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y" >> sdkconfig
|
||||
echo "CONFIG_ESP_ERR_TO_NAME_LOOKUP=n" >> sdkconfig
|
||||
|
||||
idf.py reconfigure || failure "Couldn't configure for loadable ELF file"
|
||||
test -f build/flasher_args.json && failure "flasher_args.json should not be generated in a loadable ELF build"
|
||||
idf.py build || failure "Couldn't build a loadable ELF file"
|
||||
|
Loading…
Reference in New Issue
Block a user