Please define "ROM code" ...

brianpdx
Posts: 10
Joined: Fri Jan 29, 2021 6:07 am

Please define "ROM code" ...

Postby brianpdx » Sat Nov 26, 2022 4:37 am

The ESP-IDF docs for CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY state:
If you have a task that needs a large amount of stack and does not call on ROM code in any way (no direct calls, but also no Bluetooth/WiFi) ...
What does it mean that the task can "not call on ROM code in any way?"


brianpdx
Posts: 10
Joined: Fri Jan 29, 2021 6:07 am

Re: Please define "ROM code" ...

Postby brianpdx » Wed Nov 30, 2022 2:00 am

Ok, thank you. From the page you linked:
ROM functions as not treated as public APIs
So does this mean I can call public API functions (e.g. esp_*) from a FreeRTOS task with a stack that is in external memory?

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: Please define "ROM code" ...

Postby chegewara » Thu Dec 01, 2022 12:18 am

Yes, that should be safe. If not, then you can ask for help on github and report issue.

Who is online

Users browsing this forum: Gaston1980 and 72 guests