Question about SPIRAM documentation
Posted: Thu Sep 06, 2018 10:45 am
Hello, I found something missleading at the documentation.
At the end of "Support for external RAM" section in "ESP-IDF Programming Guide", at "Chip revisions":
So, is documentation correct and we should not use dynamic memory for wifi if using Rev1 + PSRAM?
Or just some part of the wifi stack is static but the buffers can be dynamic?
At the end of "Support for external RAM" section in "ESP-IDF Programming Guide", at "Chip revisions":
But in some other places it is stated that the default configuration is to have some memory dynamically allocated for the wifi (TX buffers I think...). In menuconfig it gives the option to choose between static or dynamic.ESP-IDF also takes other measures to make sure no combination of PSRAM access plus the offending instruction sets are used: it links to a version of Newlib recompiled with the gcc flag, doesn’t use some ROM functions and allocates static memory for the WiFi stack.
So, is documentation correct and we should not use dynamic memory for wifi if using Rev1 + PSRAM?
Or just some part of the wifi stack is static but the buffers can be dynamic?