CONFIG_GPIO_CTRL_FUNC_IN_IRAM
Posted: Mon May 23, 2022 6:08 pm
I am using the function esp_register_freertos_tick_hook_for_cpu() to register a function that gets called on every system timer tick.
The function is getting called, but when I attempt to perform a GPIO with the function gpio_set_level() I get:
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed).
According to the documentation I have to set the flag CONFIG_GPIO_CTRL_FUNC_IN_IRAM.
After searching the entire Epressif directory tree, I cannot find a reference to this symbol anywhere.
How do I enable placing the GPIO into IRAM?
Thank you.
The function is getting called, but when I attempt to perform a GPIO with the function gpio_set_level() I get:
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed).
According to the documentation I have to set the flag CONFIG_GPIO_CTRL_FUNC_IN_IRAM.
After searching the entire Epressif directory tree, I cannot find a reference to this symbol anywhere.
How do I enable placing the GPIO into IRAM?
Thank you.