18 Commits

Author SHA1 Message Date
Gordon Williams
fb2c99c97d Merge branch 'master' into ESP32-v3.0 2018-06-01 14:36:10 +01:00
jumjum123
0054b39c00 ESP32.py
- added variables_mode in config.
build_platform_config.py
- added define for variables_mode
jsvar.h
- added jsVarsSize;  //size of jsVars for option malloc
- added support of malloc jsVars in jsvInit
jsvar.c
- added definition jsVars for variables_mode_malloc
jshardwareESP32.h
- new file with functions to set/get enable status of BLE and Wifi
jshardwareESP32.c
- new file with functions to set/get enable status of BLE and Wifi
ESP32.make
- added jshardware.c to SOURCES
main.c
- added handling for Wifi enabled
- added calculation for jsVars
- initialise jsVars based on calculation
jshardware.c
- used new API call to get Serial Number, even if Wifi is not enabled
- initialises BLE, if BLE is enabled (in NVS storage)
bluetooth.c
- check if BLE is enabled before initialising
jswrap_esp32.h
- defines functions to enable BLE and/or Wifi
jswrap_esp32.c
- wrapper for functions to enable BLE/Wifi, remove code from Flash, to avoid overflow in jsVars
- added status for BLE/Wifi to ESP32.getStatus
esp32_gap_func.c
- get mac adress even if Wifi is not enabled

 Changes to be committed:
	modified:   boards/ESP32.py
	modified:   make/family/ESP32.make
	modified:   scripts/build_platform_config.py
	modified:   src/jsvar.c
	modified:   src/jsvar.h
	modified:   targets/esp32/BLE/esp32_gap_func.c
	modified:   targets/esp32/bluetooth.c
	modified:   targets/esp32/jshardware.c
	new file:   targets/esp32/jshardwareESP32.c
	new file:   targets/esp32/jshardwareESP32.h
	modified:   targets/esp32/jswrap_esp32.c
	modified:   targets/esp32/jswrap_esp32.h
	modified:   targets/esp32/main.c
2018-06-01 12:23:00 +02:00
Gordon Williams
8c97aeee68 Added E.reboot() to allow hard reboots from software (fix #1429) 2018-05-22 09:01:46 +01:00
wilberforce
883000cf81 update esp-idf to v3.0. BLE support - thanks to @jumjum. 2500 vars. Erase flash before flashing 2018-05-13 13:54:02 +12:00
wilberforce
761d8cebee intial esp-idf 3.0 build 2018-04-30 21:44:19 +12:00
Gordon Williams
19dab6aae6 fix the deep sleep PR :( 2018-02-13 15:02:04 +00:00
Janos Waldhauser
6a81927613 Renamed from ESP32.deepsleep to ESP32.deepSleep.
Changed the ESP32.deepSleep parameter from milliseconds to microseconds.
2018-02-13 12:49:59 +01:00
Janos Waldhauser
896c61dad2 Removed the debug printf. 2018-02-13 09:35:30 +01:00
Janos Waldhauser
66333f68b8 Deepsleep for ESP32
Only timer based wakeup is working.

ESP32.deepsleep(time_in_milliseconds)
2018-02-12 14:04:25 +01:00
wilberforce
821afc6210 remove ESP_LOG calls 2017-04-04 18:39:24 +12:00
wilberforce
1eca8b436b update to eso-idf v2.0-rc1 2017-04-01 14:34:10 +13:00
Gordon Williams
002938f4ad Add E.neopixelWrite for all platforms (fix #1023) 2017-02-24 18:22:14 +00: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
Rhys.Williams
fea4f6c3b5 add SDK version as a string 2016-12-05 17:28:09 +13:00
Rhys.Williams
c17b486042 Updates for ESP-idf SDK 1.0 2016-12-05 16:44:04 +13:00
kolban
2e770d2928 Addition of ESP32.reboot(); Addition of more docs. 2016-10-15 19:12:06 -05:00
kolban
ea902eed4c Addition of ESP32.setLogLevel 2016-10-14 10:52:47 -05:00
kolban
565285410b Initial files for the ESP32 environment. 2016-10-09 22:53:20 -05:00