Replies: 1 comment 6 replies
-
You are asking deep question across a broad range of topics. A quick glance is unlikely to provide answers.
No. The FreeRTOS scheduler determines when tasks run and on which core. The main XS virtual machine is one task. Others XS virtual machines be created in separates tasks using web workers (documentation).
The FreeRTOS scheduler allows other tasks to run.
SPIRAM is not a runtime feature of the Moddable SDK. It is a capability of the ESP-IDF. XS and the Moddable SDK are able to make use of all the memory provided on the device by the ESP-IDF. The M5Paper platform target is an example of an ESP32 device that supports SPIRAM.
Your mileage may vary. The size of the heaps and what they contain cause GC times to vary significantly.
XS memory is configured in the project's manifest (documentation).
That depends on the ESP-IDF and how it is configured. When there is no work to do, the Moddable SDK is idle (no busy loops).
Yes. The ESP-IDF has features to configure these behaviors. |
Beta Was this translation helpful? Give feedback.
-
I have a bunch of esp32 platform questions that I don't find answered in the docs or by quickly glancing at source code. If there are docs I should read I would appreciate pointers!
modSpiLoadBufferAsIs
, is this due to the compacting garbage collection, or is there another reason?Beta Was this translation helpful? Give feedback.
All reactions