Commit Graph

1181 Commits

Author SHA1 Message Date
Clemens Kirchgatterer
2633fc3c74 Add progress callback to Update::writeStream(). (#948) 2018-01-18 01:02:58 +02:00
Kristian Sloth Lauszus
78acedd2cf Workaround strict-aliasing warnings and added missing pgm_read_ptr define (#996)
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/328511332 and 8a02ea67f5 (diff-6e1ff9551639ac89d99617863bf84e10)
2018-01-18 01:02:20 +02:00
Joey Babcock
964287727f Small grammar fixes and clarifications (#1003)
* Small grammar fixes and clarifications

Just fixed some small grammar issues in the comments and clarified a few things that might seem confusing.

* More spelling fixes that I introduced...
2018-01-18 00:59:35 +02:00
Alwin Arrasyid
528caff7f9 Added missing include directive for stdint.h (#1005)
This fixes the compile error when we include SPI.h
2018-01-18 00:58:53 +02:00
Me No Dev
600f4c4130
Update IDF to 1c3dd23
* Update mDNS and LEDC

* update toolchain

* Update IDF to 1c3dd23

* Advertise the board variant for Arduino OTA

* Add generic variant definition for mDNS
2018-01-18 00:56:58 +02:00
copercini
70d0d46487 Enable static IP via ethernet (#924) 2017-12-19 14:07:22 +01:00
Jason K
cfbb7300b7 Update to make use of SSL a bit less confusing by ensuring errors are generated if the wrong method is called to retrieve the data stream. (#934) 2017-12-19 14:06:45 +01:00
Frank Sautter
75bc1e648b Allow configuration of Ethernet PHY clock source (#916)
* Allow configuration of Ethernet PHY clock source
Refer to https://github.com/espressif/esp-idf/pull/1127
The internal APLL can be used to generate the 50MHz clock for the internal EMAC and the external Ethernet PHY.
The clock can either be input on GPIO0 (as before) or output on GPIO0, GPIO16 or GPIO17 (only GPIO17 extensively tested).
New example available.

* Allow configuration of Ethernet PHY clock source
Refer to https://github.com/espressif/esp-idf/pull/1127
The internal APLL can be used to generate the 50MHz clock for the internal EMAC and the external Ethernet PHY.
The clock can either be input on GPIO0 (as before) or output on GPIO0, GPIO16 or GPIO17 (only GPIO17 extensively tested).
New example available.
2017-12-19 14:06:01 +01:00
me-no-dev
20db2ee421 Add Time and TimerWDT examples 2017-12-14 21:13:42 +01:00
Masaki Koyanagi
79e5d4c40d Allow PSK instead of passphrase in WiFiSTA::begin (#897) 2017-12-04 17:46:49 +01:00
Ivan Kravets
7d2bffb0e8
Sync "-u __cxx_fatal_exception" LD flag 2017-11-30 18:44:19 +02:00
Ivan Kravets
d1d56b597a
Append Core (IDF) after the user libraries when linking a firmware 2017-11-30 18:37:51 +02:00
me-no-dev
2179182188 Merge branch 'master' of https://github.com/espressif/arduino-esp32 2017-11-30 17:31:11 +01:00
me-no-dev
88bd512bf5 Add missing flag to LD
Make sure to remove that next rebuild
2017-11-30 17:31:07 +01:00
Ivan Kravets
b2d01e0ad2 Rollback to previous toolchain (#894) 2017-11-30 17:03:28 +01:00
me-no-dev
f0336b38ad fix change in IDF causing havoc when used as component 2017-11-30 16:17:26 +01:00
Mark D
46d1b17319 doc typo (#889) 2017-11-28 13:53:33 +01:00
me-no-dev
3e87abc62e Merge branch 'master' of https://github.com/espressif/arduino-esp32 2017-11-28 11:20:58 +01:00
me-no-dev
62fa954f14 Import SSL in Windows (get.exe)
Closes: https://github.com/espressif/arduino-esp32/pull/820
2017-11-28 11:20:50 +01:00
zipiju
3198f25c19 Set HSPI ports by default when HSPI is selected (#874)
When user selected HSPI with SPIClass name(HSPI) ESP was, by default,
still using VSPI ports (the ones defined in pins_arduino.h).
With this change when user selects HSPI then HSPI default ports will be
used.
If user won't specify HSPI then VSPI default ports will be used.
If user will specify SCLK, MOSI, MISO and SS with SPI.begin() then user
defined ports will be used no matter if VSPI or HSPI is selected.
With this change fe. SD library can use default HSPI ports. It was
possible to
pass HSPI SPI instance to SD lib, however even then it was using VSPI
ports which were (probably) GPIO matrixed to HSPI.
2017-11-28 11:12:39 +01:00
Ivan Kravets
aa83fca438 Update link to PIO Core (#877) 2017-11-28 11:10:36 +01:00
me-no-dev
1fae11a7f2 Merge branch 'master' of https://github.com/espressif/arduino-esp32 2017-11-28 11:09:44 +01:00
me-no-dev
823fb8fdbb Reword some instructions 2017-11-28 11:09:41 +01:00
Ivan Kravets
dac7ae757a Minor fixes for PlatformIO (#881)
* Don't escape folders which are already arguments

* Drop "stage" suffix from @platformio dev/platform
2017-11-26 19:35:21 +01:00
Me No Dev
6fe9202c6c
Update platformio-build.py 2017-11-26 19:35:01 +01:00
Ivan Kravets
8eecfd21b4 Sync flags with platform.txt; Custom partitions per board (#875)
* Sync flags with platform.txt

* Add support for custom partitions per board

* Add "-fstack-protector" to CCFLAGS
2017-11-26 01:22:42 +01:00
Ivan Kravets
a907113ba2 Use real flash mode and frequency for bootloader (#873)
* Use real flash mode and frequency for bootloader

* Use real flash mode and frequency for bootloader
2017-11-25 01:49:24 +01:00
me-no-dev
3300a346e8 fix upload for linux 2017-11-25 00:53:56 +01:00
me-no-dev
62c5f3337d fix bootloader for PIO 2017-11-24 19:55:08 +01:00
me-no-dev
a53d41f1c1 Fix bootloaders for different flash configs
fixes: https://github.com/espressif/arduino-esp32/issues/867
2017-11-24 19:51:48 +01:00
me-no-dev
cf45d51476 Add stack protector flag to build 2017-11-24 14:33:17 +01:00
me-no-dev
23cf233eca Remove unnecessary library from linking
Fixes: https://github.com/espressif/arduino-esp32/issues/866
2017-11-24 10:37:35 +01:00
Me No Dev
81a9c45a1e
Update IDF to e5b2c1c (#865)
* Update BLE Library

* Fix SD driver

* Update toolchain

* Update IDF to e5b2c1c
2017-11-23 23:26:53 +01:00
me-no-dev
a3a9dd3af9 Ignore .DS_Store 2017-11-23 13:58:36 +01:00
me-no-dev
b788da30a8 Update get.exe
Fixes: https://github.com/espressif/arduino-esp32/issues/860
2017-11-23 13:57:11 +01:00
张雷
80a7d6084b fix enable ADC on pin37,38 (#822) 2017-11-10 13:27:00 +02:00
copercini
8ba91b9453 Feed WDT (#817)
fix for https://github.com/espressif/arduino-esp32/issues/740
2017-11-06 20:17:10 +02:00
allex1978
47cdfff475 Now SmartConfig works! (#807)
* little fix to WiFiSTA.cpp

Now SmartConfig works! Tested on ESP32

* little fix to WiFiSTA.cpp

Now SmartConfig works! Tested on ESP32
2017-11-06 20:10:48 +02:00
me-no-dev
1b994d54be Fix wrong size reported for cards above 16GB
Fixes: https://github.com/espressif/arduino-esp32/issues/803
2017-11-06 16:20:42 +02:00
me-no-dev
45d5d9b360 Fix SD issue on failed mount
fixes: https://github.com/espressif/arduino-esp32/issues/613
2017-11-06 16:13:09 +02:00
copercini
14dd44ad06 Reduce net_would_block calls in handshake verification (#795)
This reduce net_would_block calls and CPU utilization
2017-11-06 15:28:37 +02:00
Chris Hobbs
c1ce87e0a5 Fix Heltec Wifi-LoRa kit pinout (#799)
Based on http://esp32.net/images/Heltec/WIFI-LoRa-32/Heltec_WIFI-LoRa-32_DiagramPinoutFromBottom.jpg
2017-11-06 15:27:46 +02:00
0xPIT
7890e1192b Allow chaining of methods for more concise code (#809) 2017-11-06 15:25:11 +02:00
Jochen Groppe
21026e2373 fix NodeMCU-32S .build.board property (#812)
The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".

C macro names should never have a "-" sign.

* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S
2017-11-06 15:24:00 +02:00
Jochen Groppe
1b2eb443ef Fix compiler flags to be compatible with ESP8622/Arduino (#813)
* fix NodeMCU-32S .build.board property

The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".

C macro names should never have a "-" sign.

* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S

* fix compiler flags to be compatible to ESP8622/Arduino

see also "fix NodeMCU-32S .build.board property" #812 (https://github.com/espressif/arduino-esp32/pull/812#issuecomment-341990261)

`-DARDUINO_BOARD={build.board}` **is missing**

* Revert "fix NodeMCU-32S .build.board property"

This reverts commit ea57b1496a2e87d3977a31a29a4cf7d63216f008.
2017-11-06 15:23:03 +02:00
davruet
126674c3b6 Fixes for zero length packet bug, buffer overflow in parseInt(), added end() method (#757)
* ArduinoOTA would stop receiving any packets if the port received a zero-length UDP packet, commonly sent by network scanners like nmap. Fixed to flush() after every call to parsePacket(), even if read length is 0.

Additionally, added length checking to fix a potential buffer overflow in parseInt().

Finally, added an end() method that stops the OTA listener and releases resources.

* Only end MDNS in end() if mdns mode is enabled.
2017-10-30 10:44:15 +01:00
Patas007
b7db2da17c Unicode support in get.py (#781)
Localized versions of Linux systems use Unicode characters in the names of standard directories like "Downloads".
2017-10-30 10:43:08 +01:00
Michael Ammann
a276ae0bf3 adjust partitions for 2MB (#780)
use minimal partitions
2017-10-30 10:29:10 +01:00
copercini
3dc30dce81 Add compatibility macros with esp8266 (#783) 2017-10-30 10:27:26 +01:00
Andreas Pokorny
36dba996c1 Extend HTTPClient to allow connecting with a client certificate (#788)
* Forward client certificate to wificlient secure

* remove comment
2017-10-30 09:37:33 +01:00