- this works without errors, but is not tested with Espruino commands
Added new task to main, to seperate Espruino function from interrupt service routine
- otherwise we get resets
Fixed some headers in esp32 relevant files
- list tasks to log
- list queues to log
- notiy a task
- timer functions
Timer is under construction and tested to the point where we don't get a restart
All of these functions are mainly for testing, they could(should?) be removed once timer is fully functional
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"
- 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