mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
According to ESP-IDF, file partitions_single_app should start from 0x8000 instead of 0x4000. Some Rtos-Functions (taskhandling for example)are not fully tested, and force a reset when called. This behaviour can be switched off.
712 B
712 B
Internals
RTOS and the SDK for ESP32 bring up some new screws and bolts. In this document, we will list at least some of them.
##Tasks## Rtos supports a simple form of tasks. These tasks get a priority on start and some other information.
| Task | Stack | Priority |
|---|---|---|
| espruinoTask | 10000 | 5 |
##Interrupt Level## Each realtime OS uses interrupts, and so does RTOS. There are some predefined or reserved for future use. For more info see esp-idf/components/esp32/include/soc/soc.h line 259ff.. In this list we have all interrupts handled for Espruino
| Intr num | level | descripton |
|---|---|---|
| 18 | 1 | GPIO interrupt used for setWatch |
| 17 | 1 | Uart0 (console) |