33 Commits

Author SHA1 Message Date
Mike Fikes
31a12a3b3f
Fix typo in partitions_espruino.csv reference 2019-11-30 21:16:22 -05:00
Gordon Williams
6ddb231172 minor refactoring to allow differing JsVar sizes to be used at boot 2018-06-01 14:35:32 +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
wilberforce
15c3a9ae93 update esp-idf to v3.0. BLE support - thanks to @jumjum. 2500 vars. Erase flash before flashing 2018-05-13 14:24:17 +12: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
3f99ffe896
Correct saved code location 0x2C0000 2018-05-12 00:21:32 +12:00
Rhys Williams
c33d1102dd correct firmware size 2018-05-11 21:09:41 +12:00
Rhys Williams
c01485b175 New partition table and layout - partitions_espruino.bin needs to be flashed 2018-05-11 20:58:48 +12:00
wilberforce
761d8cebee intial esp-idf 3.0 build 2018-04-30 21:44:19 +12:00
Gordon Williams
27d9572ce2 make SHA256/512 switchable 2018-04-26 09:14:30 +01:00
wilberforce
1547b9591f set adc to 2 so board generate works 2017-08-20 11:01:56 +12:00
Gordon Williams
4a128868ea fix page link 2017-04-19 09:36:36 +01:00
Gordon Williams
b302de426d alter ESP32 build to produce binaries with the same names as other builds 2017-04-19 09:03:50 +01:00
wilberforce
a167bd3eeb add build type FLASHFS 2017-03-23 01:05:20 +13:00
Gordon Williams
fe15d14d14 ESP8266 and ESP32 builds now working 2017-03-07 14:12:46 +00:00
MaBecker
0639179694 fix pins 2017-02-18 15:24:22 +01:00
MaBecker
18285d2a3e Merge branch 'ESP32' into ESP32 2017-02-17 09:36:59 +01:00
MaBecker
84d2a5d7aa fix pin order 2017-02-17 09:24:37 +01:00
Rhys.Williams
dde21f544c major update to bring ESP32 branch upto current master 1v91.381 2017-02-16 19:48:31 +13:00
kolban
e41040993c Initial files for the ESP32 environment. 2017-02-16 17:40:08 +13:00
MaBecker
85e06c0a1f add ESP32 image and pins
use scripts/build_board_docs.py ESP32
to generate boards/ESP32.html
2017-02-15 21:24:57 +01:00
jumjum123
f45434dbd2 Added D23 to list of available GPIOs 2017-02-08 09:40:41 +01:00
jumjum123
8210eccb80 Oops, correct typo in esp32.py
pins 12 to 20 are now available again
2017-02-06 12:03:44 +01:00
jumjum123
52c6136c3c Added support for Serial2 and Serial3
Setup is supported for Serial2 and Serial3 only
Flowcontrol is UART_HW_FLOWCTRL_DISABLE only
2017-01-31 11:33:11 +01:00
jumjum123
eca56f1f4e Removed GPIOs, that are already used for Flash chip and rtc(xtal)
Added docu for PWM and Pulse
2017-01-22 22:43:48 +01:00
Rhys.Williams
a8520c61a8 allow I2C2 device, and test - yes working with HD44780. Read not tested 2017-01-16 18:34:03 +13:00
jumjum123
65f74e4d52 Fill gaps in GPIO list
Add definition for DAC pins (GPIO25/26)
2017-01-10 17:54:32 +01:00
Rhys.Williams
ec55df522c Add jshFlashGetFree - assume 4Mb memory 2016-12-19 21:26:15 +13:00
kolban
d5dba169dc Addition of first pass at SPI functions. 2016-10-26 22:46:22 -05:00
Juergen Marsch
62efa8654d pin definitions and setWatch implementation
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
2016-10-20 20:47:12 +02:00
Juergen Marsch
5706baeb93 Flash and save()
Added functions for handling Flash to jshardware.c
Added -$I for esp_spi_flash to makefile
Changed settings for save() in ESP32.py
2016-10-14 13:20:37 +02:00
kolban
8a37a74483 Progress on more network additions. 2016-10-12 00:16:36 -05:00
kolban
565285410b Initial files for the ESP32 environment. 2016-10-09 22:53:20 -05:00