Commit Graph

522 Commits

Author SHA1 Message Date
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
Michael Ammann
0768590332 Add new target u-blox nina-w10 (#771)
* Update boards.txt

* Create pins_arduino.h
2017-10-25 12:11:01 +02:00
me-no-dev
aa9111adfa Fix flash command for Windows and Linux 2017-10-24 20:38:55 +03:00
me-no-dev
84b8582acb Optimize esptool path for packaging and fix possible build errors in windows 2017-10-24 02:43:13 +03:00
me-no-dev
4f55293f59 change esptool path logic 2017-10-24 02:25:13 +03:00
Me No Dev
55289a45af Update IDF to 9274814 (#767)
* Update IDF to 9274814

* Fix error in i2c and Arduino
2017-10-24 00:21:00 +02:00
Jason K
95123681d5 Merge pull request #754 from stickbreaker/master
Correct 10bit Device address handling.
2017-10-23 15:25:19 -04:00
Jason K
11565343e6 Merge branch 'master' into master 2017-10-23 14:40:33 -04:00
Jason K
2a1a62a90a Merge pull request #751 from espressif/longReads
Add initial handling for long I2C reads.
2017-10-23 14:21:00 -04:00
me-no-dev
4470e28ca1 WiFiClientSecure fail if gethostbyname returns null 2017-10-23 16:19:46 +03:00