Commit Graph

903 Commits

Author SHA1 Message Date
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
me-no-dev
3b874d51e8 update IDF libs and includes 2017-01-16 16:03:13 +02:00
me-no-dev
49a476c5f0 add new toolchain and fix get.py bad chars 2017-01-16 14:34:28 +02:00
Murat Ambarkutuk
151f275ed1 Add brief explanation about app_main() function when arduino used as a esp-idf component (#99)
* Add brief explanation about app_main() function

* Update README.md

The proposed sentence is restated in a more clear way.

* Fix typo
2017-01-16 12:15:00 +02:00
Sandeep Patil
365a0d8592 created board defination and pin layout for ExploreEmbedded Hornbill dev and Minima boards (#131)
* created board defination and pin layout for hornbill dev and minima

* change in pin mapping
2017-01-16 12:14:04 +02:00
tobozo
cefbf25280 (Real) fix for cygwinless win10 TLS error (#126)
Added a new requirement ( pip install request ) and some logic to get it working, I won't blame you if you reject this PR but this is what made it work on my machine
2017-01-16 12:13:19 +02:00
Angus Gratton
ce5df79674 SDK headers: Use new esp-idf signal name VSPICLK_OUT_IDX (#130) 2017-01-16 12:12:13 +02:00
me-no-dev
6edf8a7795 fix renamed method names for SigmaDelta 2017-01-09 21:55:37 +02:00
me-no-dev
a4305284d0 LEDC Driver Update
- Add double precision to LEDC frequency
- Add method for writing frequencies (Tones)
- Add method for writing notes (8 channels polyphony anyone?)
2017-01-09 18:05:30 +02:00
me-no-dev
8e948096d4 Rename sd->sigmadelta in HAL
Change is to not be mistaken with SD Card
2017-01-09 17:57:17 +02:00
me-no-dev
5977877dbe Update Kconfig to autoenable SO_RCVBUF in IDF 2017-01-09 17:51:07 +02:00
me-no-dev
7cef2e2954 Add initial IPv6 Support 2017-01-06 00:54:50 +02:00
Me No Dev
22f0577339 Update README.md
Add exception decoder and fix layout
2017-01-05 17:59:20 +02:00
tobozo
b5858c1904 Error Handling for Window10 without CygWin (#117)
Added an Exception handling to the offending urlretrieve() call for the issue #108 https://github.com/espressif/arduino-esp32/issues/108

It's not really a fix but the failure message is much more elegant than the initial stack trace as it hints at the solution to the setup problem rather than confusing the user into Windows problems.
2017-01-05 15:02:56 +02:00
me-no-dev
8b96b1a5f4 update IDF libs and esptool.py
adds autoreset after firmware upload
2017-01-05 13:54:40 +02:00
Me No Dev
d84d912973 Remove MONITOR_BAUD config
it's part of esp-idf now and can be used by any project
2017-01-03 11:55:51 +02:00
Me No Dev
9be672fdd8 Remove monitor command from component
```make monitor``` has been now added to esp-idf by @projectgus and can be used from any esp-idf project
2017-01-03 11:52:35 +02:00
me-no-dev
f49ac391b2 replace wrong calls to cbuf->size in UDP 2017-01-02 09:46:13 +02:00
Me No Dev
4395efa3fc Update README.md 2016-12-30 03:00:57 +02:00
me-no-dev
e383a11291 Add Server and UDP and fix WiFi.hostByName 2016-12-30 02:44:45 +02:00
me-no-dev
f6d4843680 Update IDF and Fix Error 88 for Client::available 2016-12-30 01:28:30 +02:00
me-no-dev
668c3811b8 Wire: wait while bus is busy if ack failed 2016-12-15 01:41:54 +02:00
me-no-dev
b86fb30b1d cleanup read commands 2016-12-14 23:31:28 +02:00
me-no-dev
04e0902ca6 Wire: if we are reading only one byte, do not send empty read command 2016-12-14 18:43:32 +02:00
me-no-dev
917a4fd6f0 allow setting internal pull resistors for any mode and enable them for I2C 2016-12-14 13:11:10 +02:00
me-no-dev
c19fc061b0 Hopefully fix I2C/Wire
Tested with (all at the same time):
- MPU9250
- HTU21
- TMP102
- BMP180
- AM2320
- SSD1306
2016-12-14 02:41:22 +02:00
me-no-dev
e92634a92b Add analogSetAttenuation and analogSetPinAttenuation 2016-12-14 02:29:54 +02:00
Me No Dev
7defc6ebf3 Update README.md 2016-12-13 13:45:58 +02:00
Murat Ambarkutuk
551e422423 Fix typos (#95) 2016-12-13 12:34:02 +02:00
The Gitter Badger
c336989e93 Add Gitter badge (#96) 2016-12-13 12:12:44 +02:00
me-no-dev
a6c02bc710 Add some missing defines
fixes: https://github.com/espressif/arduino-esp32/issues/76
fixes: https://github.com/espressif/arduino-esp32/issues/5
fixes: https://github.com/espressif/arduino-esp32/issues/91
2016-12-12 02:12:18 +02:00
Victor Tseng
54b1b8b1d3 const correctness (#89)
make IPAddress.toString() const method, it doesn't modify anything
within the class.
2016-12-12 01:32:55 +02:00
Ivan Kravets
d8e74f2cbf Format README contents; add instructions for @PlatformIO (#88) 2016-12-10 18:28:24 +02:00
me-no-dev
8e7d00b9a8 i2c revert to old fifo write 2016-12-09 18:07:59 +02:00
me-no-dev
4e458fd6fb Initial Timers driver
Implementation for Timers 0-4 (no locks yet)
2016-12-09 17:47:30 +02:00