new file: targets/esp32/jshardwareUart.c
new file: targets/esp32/jshardwareUart.h
new file: targets/esp32/jswrap_rtos.c
new file: targets/esp32/jswrap_rtos.h
new file: targets/esp32/rtosutil.c
new file: targets/esp32/rtosutil.h
This reverts commit 3d464618227d8d6f5040bff6c8e41a447a6d6f25, reversing
changes made to 1d8fd4aa72e99a875eb7efe70c3d4700dd0d27b1.
merge was done with "old changes"
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.
- added wrapper to use functions around tasks and queues. rtosutils is
c-level, jswrap_rtos wraps utils to Espruino
- added option for rtos (RTOS=1) to makefile
- adding a task for reading uart and writing to a queue
- use RTOS-option to switch between old polling and new queue based
input
- docu for the changes
Changes in ESP32.py to have only available pins, for example without pin
20, and to define ADC and UART pins.
Added interrupt handling for GPIO pins to support setWatch. Based on
description in driver/gpio.h