Some questions regarding the RAM size and board definition file for Espruino on ESP32.
What is the theoretical maximum number of the available RAM for Espruino on ESP32? Since ESP32's RAM is not contiguous, is Espruino taking up only one of the chunks? Is that configurable somewhere?
How can I increase the current 2300 blocks of total available RAM?
(I tried with reducing ESP_STACK_SIZE from the boards/*.py file and it worked.
I tried removing BLUETOOTH but build failed with errors)
What does ESP_STACK_SIZE mean in boards/ESP32.py? Is that reserved for function calls in JS code? Is the stack here using the same RAM chunk as the runtime RAM?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Some questions regarding the RAM size and board definition file for Espruino on ESP32.
What is the theoretical maximum number of the available RAM for Espruino on ESP32? Since ESP32's RAM is not contiguous, is Espruino taking up only one of the chunks? Is that configurable somewhere?
How can I increase the current
2300
blocks of total available RAM?(I tried with reducing
ESP_STACK_SIZE
from theboards/*.py
file and it worked.I tried removing
BLUETOOTH
but build failed with errors)What does
ESP_STACK_SIZE
mean inboards/ESP32.py
? Is that reserved for function calls in JS code? Is the stack here using the same RAM chunk as the runtime RAM?