10 Commits

Author SHA1 Message Date
Rhys.Williams
471e86ffcb remove arduino libs dependancy (spi commented out) 2017-01-10 21:33:05 +13:00
Rhys.Williams
947f552529 remove arduino libs dependancy (spi commented out) 2017-01-10 21:14:29 +13:00
Juergen Marsch
8e38a5aae2 - Added suport for ADC(pin32-39)
please have in mind, ADC do not work linear.
  Espressif will change this later
- added support for DAC(pin 25-26)
- changed interrupt handling for GPIO and UART to virtual interrupts
Changes to be committed:
	modified:   Makefile
	modified:   targets/esp32/jshardware.c
	new file:   targets/esp32/jshardwareAnalog.c
	new file:   targets/esp32/jshardwareAnalog.h
	modified:   targets/esp32/jshardwareUart.c
	modified:   targets/esp32/jswrap_esp32.c
	modified:   targets/esp32/main.c
2016-12-13 18:58:57 +01:00
Juergen Marsch
0f2d2b7f7c Makefile added files
- RTOS_for_Espruino.md docu for RTOS-Commands
- jshardwareUart functions for interrupt driven console
- rtosutil rtos functions for tasks and queues
- jswrap_rtos wrapper for rtos functions
- Makefile added RTOS definition to support RTOS functions(or not)
- main.c switched to interrupt driven console using 2nd task
- jshardware.c switched to interrupt driven console
2016-12-01 22:32:30 +01:00
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
Juergen Marsch
7aea6753a7 Merge branch 'ESP32' of https://github.com/jumjum123/Espruino into ESP32 2016-11-29 11:38:08 +01:00
Rhys.Williams
58eee3d07d Allow single byte read from flash so that save() works
Implement `wifi.save()` and `wifi.restore()` using inbuilt API (rather than save to flash like ESP8266)
2016-11-24 12:09:34 +13:00
Juergen Marsch
004cb6330e RTOS functions wrapper and a task for console read
- 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
2016-11-07 15:49:44 +01:00
kolban
07eff2d5d9 Addition of callback handlers for connect and disconnect events. 2016-10-11 00:15:31 -05:00
kolban
565285410b Initial files for the ESP32 environment. 2016-10-09 22:53:20 -05:00