Commit Graph

1237 Commits

Author SHA1 Message Date
me-no-dev
8df22cac80 Store WiFi settings in flash
Fixes: https://github.com/espressif/arduino-esp32/issues/173
2017-02-10 02:01:16 +02:00
me-no-dev
6a058275e7 Remove unimplemented methods from SPI 2017-02-09 20:40:56 +02:00
Martin Sloup
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
me-no-dev
bfa979a900 Add initial NVS Arduino implementation 2017-02-08 23:09:42 +02:00
me-no-dev
7a7b697ff9 Add ESP::deepSleep(us)
fixes: https://github.com/espressif/arduino-esp32/issues/51
2017-02-08 20:32:49 +02:00
me-no-dev
fdc4f53eb6 fix WiFi disconnect reason index 2017-02-08 20:20:00 +02:00
Martin Sloup
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
Ion
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
Martin Sloup
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
Me No Dev
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
me-no-dev
ee8149e207 add better debug messages for WiFi status 2017-02-05 23:59:44 +02:00
me-no-dev
f4ad2624c9 update travis and build script to not fail 2017-02-05 19:58:27 +02:00
Ion
c66b54a9eb Add touch example 2017-02-05 18:03:04 +02:00
Jan Hendrik Berlin
bbf48a5d54 Add (ported) SimpleWiFiServer (#158) 2017-02-05 17:21:51 +02:00
Ivan Kravets
9101e1366e Test nested examples with @PlatformIO (#172) 2017-02-05 16:59:10 +02:00
me-no-dev
a80b2b24a4 Add ESP32 examples folder and sigma-delta example 2017-02-05 16:14:43 +02:00
Ion
150d2cec69 Add hint (#170)
* Add hint

* Update README.md

* Update README.md

* Update README.md
2017-02-05 14:48:13 +02:00
Joren Six
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
me-no-dev
de017a8a1b Optimize SPI transfers to take one lock and do not return until completed 2017-02-01 02:14:36 +02:00
Ivan Kravets
672631ddf0 Use CI cloned version instead of master for @PlatformIO (#157) 2017-01-31 02:53:32 +02:00
Ivan Kravets
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
Peter Lerup
4bae4e060b Added reference to makeEspArduino (#155) 2017-01-28 18:11:17 +02:00
Ivan Kravets
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
Me No Dev
73161688df Update README.md
Add Travis build badge
2017-01-28 14:15:42 +02:00
me-no-dev
e8e8efdb66 finalize formatting of reported sketch size 2017-01-28 14:09:00 +02:00
me-no-dev
ca35560413 add proper size formatting to travis reports 2017-01-28 14:00:19 +02:00
me-no-dev
7a68cefaa0 lines forgotten to be commented 2017-01-28 13:47:12 +02:00
me-no-dev
fe12ebd3fd dump size and partitions to prep size format for travis 2017-01-28 13:44:31 +02:00
me-no-dev
3a61fc245e create default libraries folder, though not yet used 2017-01-28 13:36:13 +02:00
me-no-dev
25f7993f51 fix missing arguments for build.py 2017-01-28 13:33:41 +02:00
me-no-dev
46a7500a26 travis should install hardware in the home folder 2017-01-28 13:28:03 +02:00
me-no-dev
19261c0aef fix build board for travis 2017-01-28 13:19:30 +02:00
me-no-dev
b0b21f7335 remove unnecessary build steps from travis 2017-01-28 13:14:59 +02:00
me-no-dev
77a04a01a3 Initial travis pull from esp8266 2017-01-28 13:09:20 +02:00
me-no-dev
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
me-no-dev
5f203e1a98 Add ESP::getSdkVersion
fixes: https://github.com/espressif/arduino-esp32/issues/146
2017-01-24 11:44:26 +02:00
me-no-dev
c8140f8288 add configTime, getLocalTime and support for time in Print
example:
```cpp
//done once on WiFi init
configTime(-7200, 3600, "pool.ntp.org");
//get local time
struct tm timeinfo;
if(!getLocalTime(&timeinfo)){
    Serial.println("Failed to obtain time");
    return;
}
//print time
Serial.println(&timeinfo);
//print time with different format
Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S");
```
fixes: https://github.com/espressif/arduino-esp32/issues/29
2017-01-24 04:07:27 +02:00
me-no-dev
6dfbdbca29 fix WiFi.config not being applied
fixes: https://github.com/espressif/arduino-esp32/issues/143
2017-01-24 01:08:48 +02:00
me-no-dev
3c7d0e9905 add RSSI return and fix SSID and BSSID methods
fixes: https://github.com/espressif/arduino-esp32/issues/144
2017-01-24 00:56:12 +02:00
sorscode
13f3ac569b Enable pulseIn() (#140)
* Add files via upload

enable pulseIn()

* Remove optimistic_yield
2017-01-20 21:49:17 +02:00
Seop Yoon
57dbc9ab77 Add smartConfig support (#136)
* smartConfig support

* fixed bug, added example

* added _smartConfigDone = ture

* changed example name, added explanation
2017-01-20 12:39:51 +02:00
me-no-dev
78f2c6f31e update IDF libs 2017-01-19 16:25:27 +02:00
Me No Dev
ada57f36fb Update windows.md 2017-01-19 16:03:37 +02:00
me-no-dev
4fbee226b6 move to binary esptool. Run get.py/get.exe to get it!
With this step we remove all dependencies, but git. Mac and Linux come
with Python by default, so they will keep using get.py to update the
toolchain and support binaries. Windows users have an "All point and
click" installation option that requires only git and Arduino to be
downloaded.
Fingers crossed :)
2017-01-19 15:58:29 +02:00
me-no-dev
93d2bc7f1e update get.py and add get.exe
- get.exe is clickable and will soon download binary form of esptool,
which will really simplify installation on Windows
- get.py does not require any extra modules on Linux and Mac
- ```pip install requests``` required only on Windows (if not using
get.exe)
- Paths are made relative to the file in order to make the windows
executable clickable.
2017-01-19 04:48:42 +02:00
me-no-dev
9e6e3249b6 update windows toolchain and platform.txt 2017-01-19 03:24:21 +02:00
Me No Dev
be7871677f Update WiFiUdp.cpp
Change return value of UDP::endPacket() to match specifications

Ref: https://github.com/espressif/arduino-esp32/issues/138
2017-01-19 02:03:37 +02:00
Me No Dev
a2931e7a5b Update README.md
Add ```pip install requests``` to install steps
2017-01-19 01:49:48 +02:00
tobozo
cbb256e45d Followup to PR #126 (#139)
* Followup to PR #126

Forgot to mention the extra `pip install requests` in the ReadMe and saw issue #134

* Update windows.md
2017-01-18 14:22:38 +02:00
me-no-dev
35316de8d3 revert toolchain for windows 2017-01-17 12:45:03 +02:00