mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(espcoredump): save RAM space by placing constants in flash
All the log messages of espcoredump component used to be in DRAM, which would lower the available RAM space for the user application. Since the cache is always enabled after an exception, constants can be put in flash.
This commit is contained in:
@@ -37,11 +37,13 @@ entries:
|
||||
archive: libespcoredump.a
|
||||
entries:
|
||||
if ESP_PANIC_HANDLER_IRAM = y:
|
||||
core_dump_uart (noflash_text)
|
||||
core_dump_flash (noflash_text)
|
||||
core_dump_common (noflash_text)
|
||||
core_dump_port (noflash_text)
|
||||
core_dump_elf (noflash_text)
|
||||
core_dump_uart (noflash)
|
||||
core_dump_flash (noflash)
|
||||
core_dump_common (noflash)
|
||||
core_dump_port (noflash)
|
||||
core_dump_elf (noflash)
|
||||
core_dump_checksum (noflash)
|
||||
core_dump_binary (noflash)
|
||||
else:
|
||||
* (default)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user