mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'ci/app_type_elf_reduce_ram' into 'master'
CI: reduce memory footprint for "Loadable ELF build" Closes IDFCI-1272 See merge request espressif/esp-idf!18185
This commit is contained in:
commit
96965d5d64
@ -873,6 +873,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…
x
Reference in New Issue
Block a user