The first idea was to move util timer task to 2nd cpu later, but it turned out taskhandling slows down a lot
Therefore it had to be moved
Move init of timer into main loop
Add a bitfield for usage of pins for soft pwm
Add handling of soft pwm pins to jshPinSetState
Add handling of soft PWM to jshPinAnalogOutput if soft:true is set in options
Set time for util timer to a min of 30 usecs
- 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
- notify task and wait for notification
- added timer functions for both timers in timer group 1
- fixed problem with NULL in list function (tasks, queues, timer)
- made lists function available in h-file
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