freertos: add kconfig options for task snapshot functions

Task snapshots is required by other modules that don't use gdbstub
or core dump. Add a Kconfig option to manage these possibilities.
This commit is contained in:
Omar Chebib
2021-08-19 16:45:58 +08:00
parent 5f38b766a8
commit 92cf321677
6 changed files with 20 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
archive: libfreertos.a
entries:
* (noflash_text)
if ESP_PANIC_HANDLER_IRAM != y:
if FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH = y:
task_snapshot (default)
if FREERTOS_PLACE_FUNCTIONS_INTO_FLASH = y:
port: pxPortInitialiseStack (default)