43cc3dc815
Fix for implicit declaration of function nvs_flash_init error ( #204 )
2017-02-13 01:56:47 +02:00
a36ef2aea8
Added LEDC Software Fade example ( #202 )
...
* Added LEDC Fade exmaple
* Renamed LEDCFade example to LEDCSoftwareFade
Added valueMax parameter for ledcAnalogWrite
* Remove usage of LED_BUILTIN constant to solve CI errors
2017-02-12 17:30:12 +02:00
8c1e7018c9
Change library name for IDF
2017-02-12 00:28:09 +02:00
f9ba8e9ccf
Refactoring EPS32NVS library to Preferences library ( #199 )
...
* Refactoring EPS32NVS library to Preferences library
* Renaming all set* functions to put
* Added functions for float, double and bool
* Small redesign of Preferences API
* added type to put* function names
* for (u)int64_t used functions name with *(U)Long64
* added functions for long and unsigned long (same like int a unsigned int)
2017-02-12 00:08:22 +02:00
4a90aeebc9
fix ESP:: getCpuFreqMHz
2017-02-11 23:36:16 +02:00
450ea0d211
Update ESP class
2017-02-11 23:34:43 +02:00
a28a7f12d5
Add default partition table and app selector bin to IDF
2017-02-11 23:27:18 +02:00
09f5f7266b
move yield to function
...
fixes: https://github.com/espressif/arduino-esp32/issues/193
2017-02-11 00:25:15 +02:00
8ab3231e31
Add WiFiClient secure lib ( #184 )
...
* Provide SSL/TLS functions to ESP32 with Arduino IDE
* Generate a new random number in case of reconnection
2017-02-11 00:20:24 +02:00
0fb5e5ca11
Improves in ESP32NVS library ( #196 )
...
* Improved ESP32NVS default value support for read* functions
Fixed uninitialized NVS flash storage. Added example code.
* Add methods for String and remove unnecessary nvs_flash_init() in ESP32NVS class
+ other minor declaration fixes
* ESP32NVS function name renaming
* read* -> get*
* write* -> set*
* erase -> clear / remove
2017-02-11 00:18:57 +02:00
5de2429bf8
Wrap "gen_esp32part" command with verbose action and own label ( #198 )
2017-02-11 00:14:09 +02:00
d92c7686b0
Add support for custom partition table; use built-in esptool.py ( #195 )
2017-02-10 19:33:55 +02:00
fb8fe671d6
New partitions ( #192 )
...
* Add new partition scheme
* Init NVS early, so it can be used without BT or WiFi
2017-02-10 14:11:24 +02:00
1f0df1ef97
Fix wrong return values for WiFi::softAPConfig
...
fixes: https://github.com/espressif/arduino-esp32/issues/191
2017-02-10 13:49:43 +02:00
0101564219
fix compilation error if debug level is above debug and less or equal to warn
2017-02-10 04:27:48 +02:00
8df22cac80
Store WiFi settings in flash
...
Fixes: https://github.com/espressif/arduino-esp32/issues/173
2017-02-10 02:01:16 +02:00
6a058275e7
Remove unimplemented methods from SPI
2017-02-09 20:40:56 +02:00
3e87dcf748
beginPacket can be used without listening on socket ( #185 )
...
Currently there is bug in WiFiUDP library when you want to use beginPacket(...) without listening on socket (without calling begin(...) first). You can't send any data because socket is not open and also tx_buffer is not allocated which cause crash while writing data to tx_buffer.
2017-02-08 23:10:16 +02:00
bfa979a900
Add initial NVS Arduino implementation
2017-02-08 23:09:42 +02:00
7a7b697ff9
Add ESP::deepSleep(us)
...
fixes: https://github.com/espressif/arduino-esp32/issues/51
2017-02-08 20:32:49 +02:00
fdc4f53eb6
fix WiFi disconnect reason index
2017-02-08 20:20:00 +02:00
67128fcb2c
Fixes implementation of __FlashStringHelper ( #183 )
...
Previous __FlashStringHelper implementation was defines as a char which brought problem in case the method with char* parameter used overloading with __FlashStringHelper* parameter (they was identical). Now __FlashStringHelper is defined as a class and all casts between char* and __FlashStringHelper* are made with reinterpret_cast sugar.
2017-02-08 19:57:26 +02:00
cea41d965a
Add Touchread example ( #175 )
...
* Add Touchread example
* Rename libraries/ESP32/examples/Touch/TouchRead.ino to libraries/ESP32/examples/Touch/TouchRead/TouchRead.ino
* Update TouchRead.ino
2017-02-07 03:42:43 +02:00
e62ecb3ef4
Added boards constants for LED_BUILTIN and KEY_BUILTIN ( #177 )
...
* Added boards constants for LED_BUILTIN and KEY_BUILTIN
Sources:
* esp320: http://wiki.sweetpeas.se/index.php?title=ESP320#Developing_using_the_Arduino_IDE
* esp32thing: https://cdn.sparkfun.com/assets/learn_tutorials/5/0/7/esp32-thing-schematic.pdf
* espea32: https://github.com/AprilBrother/ESPea32/blob/master/hardware/ESPea32-schematic.pdf
* hornbill32dev: https://github.com/ExploreEmbedded/Hornbill-ESP32-DEV/blob/master/Design%20Files/Schematic/Hornbill%20Devboard.pdf
* lolin32: values from existing header
* nano32: http://iot-bits.com/closer-look-esp32-nano32/
* node32s: https://github.com/lamloei/node32s-book/blob/master/ch01/node32s-schematic.pdf
* Replace BUILTIN_LED constant with #define
2017-02-07 03:39:08 +02:00
d02c1c786e
Update IDF, fix SS definition, add custom partitions and debug level selection ( #174 )
...
* Add build time partitions compilation
* Fix wrong definition of SS pin
* Add support for core debug level selection
* update idf libs
2017-02-06 15:17:11 +02:00
ee8149e207
add better debug messages for WiFi status
2017-02-05 23:59:44 +02:00
f4ad2624c9
update travis and build script to not fail
2017-02-05 19:58:27 +02:00
c66b54a9eb
Add touch example
2017-02-05 18:03:04 +02:00
bbf48a5d54
Add (ported) SimpleWiFiServer ( #158 )
2017-02-05 17:21:51 +02:00
9101e1366e
Test nested examples with @PlatformIO ( #172 )
2017-02-05 16:59:10 +02:00
a80b2b24a4
Add ESP32 examples folder and sigma-delta example
2017-02-05 16:14:43 +02:00
150d2cec69
Add hint ( #170 )
...
* Add hint
* Update README.md
* Update README.md
* Update README.md
2017-02-05 14:48:13 +02:00
97e9a120bd
Added a basic WiFi UDP client example ( #114 )
...
* Added a basic WiFi UDP client example: a sketch that sends random bytes over udp.
* Updated udp example and included Python and Ruby UDP servers.
2017-02-03 16:31:41 +02:00
de017a8a1b
Optimize SPI transfers to take one lock and do not return until completed
2017-02-01 02:14:36 +02:00
672631ddf0
Use CI cloned version instead of master for @PlatformIO ( #157 )
2017-01-31 02:53:32 +02:00
6bec26cfbf
Add @PlatformIO to Travis.CI ( #154 )
...
* Initial version of build script for @PlatformIO ; CI integration for Linux, macOS and Windows
* Remove CI badges
* Add @PlatformIO to Travis.CI
2017-01-28 18:15:46 +02:00
4bae4e060b
Added reference to makeEspArduino ( #155 )
2017-01-28 18:11:17 +02:00
e5f6c2effa
Initial version of build script for @PlatformIO ; CI integration for Linux, macOS and Windows ( #153 )
...
* Initial version of build script for @PlatformIO ; CI integration for Linux, macOS and Windows
* Remove CI badges
2017-01-28 14:19:56 +02:00
73161688df
Update README.md
...
Add Travis build badge
2017-01-28 14:15:42 +02:00
e8e8efdb66
finalize formatting of reported sketch size
2017-01-28 14:09:00 +02:00
ca35560413
add proper size formatting to travis reports
2017-01-28 14:00:19 +02:00
7a68cefaa0
lines forgotten to be commented
2017-01-28 13:47:12 +02:00
fe12ebd3fd
dump size and partitions to prep size format for travis
2017-01-28 13:44:31 +02:00
3a61fc245e
create default libraries folder, though not yet used
2017-01-28 13:36:13 +02:00
25f7993f51
fix missing arguments for build.py
2017-01-28 13:33:41 +02:00
46a7500a26
travis should install hardware in the home folder
2017-01-28 13:28:03 +02:00
19261c0aef
fix build board for travis
2017-01-28 13:19:30 +02:00
b0b21f7335
remove unnecessary build steps from travis
2017-01-28 13:14:59 +02:00
77a04a01a3
Initial travis pull from esp8266
2017-01-28 13:09:20 +02:00
6a1e7c1e99
Fix cbuf not being able to hold the full length
...
fixes: https://github.com/espressif/arduino-esp32/issues/145
2017-01-24 17:57:44 +02:00