Espruino/targets/esp32/docs/TasksInterruptsEtc.md
Juergen Marsch bae5e8256a Revert "Merge pull request #983 from jumjum123/ESP32"
This reverts commit 3d464618227d8d6f5040bff6c8e41a447a6d6f25, reversing
changes made to 1d8fd4aa72e99a875eb7efe70c3d4700dd0d27b1.

merge was done with "old changes"
2016-12-01 17:15:50 +01:00

683 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