66b11ff2a4
Update platformio-build-esp32c3.py
2021-04-14 18:18:48 +03:00
404a31f445
Initial Esp32c3 Support ( #5060 )
2021-04-14 18:10:05 +03:00
371f382db7
Fix Serial RX and add option for FIFO Full Threshold in Serial.begin
...
Fixes: https://github.com/espressif/arduino-esp32/issues/5005
2021-04-08 15:29:53 +03:00
425619dfea
Fix upload over USB CDC (USB serial must be set to 0)
2021-04-05 20:24:46 +03:00
aeb4a13aad
ESP32S2 pinmap ( #5015 )
2021-04-05 16:54:40 +03:00
8645971981
Fix delayMicroseconds() to use 64bit period
...
fixes: https://github.com/espressif/arduino-esp32/issues/5000
2021-04-05 15:15:09 +03:00
5502879a5b
v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 ( #4996 )
...
This is very much still work in progress and much more will change before the final 2.0.0
Some APIs have changed. New libraries have been added. LittleFS included.
Co-authored-by: Seon Rozenblum <seonr@3sprockets.com >
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
Co-authored-by: geeksville <kevinh@geeksville.com >
Co-authored-by: Mike Dunston <m_dunston@comcast.net >
Co-authored-by: Unexpected Maker <seon@unexpectedmaker.com >
Co-authored-by: Seon Rozenblum <seonr@3sprockets.com >
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com >
Co-authored-by: tobozo <tobozo@users.noreply.github.com >
Co-authored-by: bobobo1618 <bobobo1618@users.noreply.github.com >
Co-authored-by: lorol <lorolouis@gmail.com >
Co-authored-by: geeksville <kevinh@geeksville.com >
Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net >
Co-authored-by: Sweety <switi.mhaiske@espressif.com >
Co-authored-by: Loick MAHIEUX <loick111@gmail.com >
Co-authored-by: Larry Bernstone <lbernstone@gmail.com >
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com >
Co-authored-by: 快乐的我531 <2302004040@qq.com >
Co-authored-by: chegewara <imperiaonline4@gmail.com >
Co-authored-by: Clemens Kirchgatterer <clemens@1541.org >
Co-authored-by: Aron Rubin <aronrubin@gmail.com >
Co-authored-by: Pete Lewis <601236+lewispg228@users.noreply.github.com >
2021-04-05 14:23:58 +03:00
46d5afb17f
Quote {build.source.path} to allow spaces in path ( #4868 )
...
Previously sketches or examples that had spaces anywhere in their absolute
path caused a total build failure. By adding quotes around the path in
platform.txt, they now build correctly
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
1.0.6
2021-03-26 13:24:21 +02:00
66746750a4
IDF release/v3.3.5 85c43024c ( #4976 )
...
esp-face: master 420fc7e
esp32-camera: master 488c308
2021-03-26 12:56:06 +02:00
e7a2759b65
Allow STA SSID length of 32
...
Fixes: https://github.com/espressif/arduino-esp32/issues/3218
2021-03-23 14:30:19 +02:00
2ee66b54f0
IDF release/v3.3 c43efe150 ( #4936 )
...
esp-face: master 420fc7e
esp32-camera: master 488c308
FreeRTOS Static
2021-03-20 14:04:35 +02:00
2d3c57635d
Fix: WebServer: Digest authentication failed for some clients
...
Ports: 4d3850e87e
2021-03-19 02:10:16 +02:00
a299ddc99e
Change send_ssl_data to use size_t instead of uint16_t
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4960
2021-03-18 15:02:37 +02:00
93bcf5f250
Allow passing custom HTTPClient to HTTPUpdate ( #4959 )
...
This enables customizing HTTP headers which adds some extra flexibility.
This does not break anything of course because this change introduces a new constructor with a new additional HTTPClient argument for HTTPUpdate class.
2021-03-18 13:12:57 +02:00
bd41334265
Fix ETH not enabling DHCP when configured with INADDR_NONE
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4778
2021-03-18 00:53:53 +02:00
9a0762ad2a
[BLE Client] Fix Deadlock when calling writeValue after registerForNotify
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4952
2021-03-17 18:46:55 +02:00
a451c9ef0d
Fix HTTPClient crash on GET() for url with redirects
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4931
2021-03-16 21:28:19 +02:00
d362e1ee1a
[BLE] Allows you to specify which channels are used to advertise. ( #4954 )
...
In some use cases getting rssi signal from one channel is more stable (less variance) than rssi from the three advertising channels.
This change allows you to specify which channels are used to advertise.
2021-03-16 11:56:23 +02:00
33d9f4aa19
Update GitHub Pages Builder
...
Add some debug and allow building from a branch named `pages`
2021-03-16 02:48:17 +02:00
63c51d51fb
Update HTTPUpdate.cpp ( #4942 )
...
This is a mirror of a change in esp8266 needed to update with a url that redirects.
2021-03-16 02:14:53 +02:00
5b845272ed
Fix BluetoothSerial TX Stall
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4949
2021-03-16 02:11:59 +02:00
5da4a47bdf
Update debian_ubuntu.md ( #4907 )
...
* Update debian_ubuntu.md
ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/2.7/get-pip.py instead.
* Update debian_ubuntu.md
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
2021-03-15 13:22:34 +02:00
3253de8792
added scan_method = WIFI_ALL_CHANNEL_SCAN into wifi config in WiFi.begin() to let the scan choose the nearest / strongest AP in case that there are multiple APs with the same SSID ( #4947 )
...
In case you have multiple APs with the same SSID/password and WiFi.begin(ssid, pwd) is called, ESP32 defaults to connect to THE FIRST AP FOUND matching ssid - according to:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html#_CPPv418wifi_scan_method_t
This can cause situations that ESP32 is trying to connect to AP which is far away from it (weak signal) even there is AP close to it, just as in my house - I have AP on channel 6 which is in the 1st floor (quite far from room where I do the programming) and AP on channel 13 in the same room I do the programming (which is in the 2nd floor) - result: ESP32 is trying to connect to the AP on channel 6 because it finds it first and never try the AP on channel 13 in the same room, result of this is very unreliable WiFi connection.
When scan_method is set to WIFI_ALL_CHANNEL_SCAN, ESP32 scans all channels and choose the nearest / strongest AP (matching the ssid of course) as expected - result is no connection problems at all.
Therefore I propose adding this parameter into WiFi.begin, connection problems as described above are quite confusing (especially for beginners), I can imagine that for example Schools there are usually using mutliple APs and this can cause intermittent connection problems without obvious reason.
2021-03-15 13:21:43 +02:00
a31f30529d
fix spiTransferBytesNL() writes past end of data_out
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4935
2021-03-15 10:40:50 +02:00
35643bdd9b
adds esp8266-style hostname setting ( #4938 )
...
a little step to make esp8266 code compile without changes under esp32
2021-03-15 10:10:30 +02:00
8dc70e0add
Revert "Update licenses"
...
This reverts commit 4b3f5c8ed4
.
2021-03-11 12:11:53 +02:00
b42739dfa4
Update howsmyssl.com root certificate
2021-03-10 17:55:40 +02:00
93d5b8c672
Fix String::replace()
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4920
2021-03-10 17:13:14 +02:00
f815a7c636
Add WiFi.softAPSSID()
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4922
2021-03-10 16:36:51 +02:00
23f6e81d52
Fix AsyncUDP reporting bad address and port
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4923
2021-03-10 16:20:18 +02:00
e8311b00ae
IDF release/v3.3 0bfff0b25 ( #4895 )
...
esp-face: master 420fc7e
esp32-camera: master 770f26a
2021-03-10 14:48:35 +02:00
4d95e3a7ea
Fix BT not starting correctly and SPP Coex not working
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4912
2021-03-09 01:56:47 +02:00
7dc769d81c
Board name change (ETBoard -> ET-Board) ( #4858 )
...
Co-authored-by: ketri-kjy <jinyoung@ketri.re.kr >
Co-authored-by: ketri2484 <ketri2484@gamil.com >
Co-authored-by: me-no-dev <hristo@espressif.com >
2021-03-09 00:32:02 +02:00
4204d1e60a
Handle PSRAM libs in PlatformIO build script ( #4911 )
...
This PR adds PSRAM-specific libraries to the final linker command depending on the `BOARD_HAS_PSRAM` macro.
cc @me-no-dev
2021-03-09 00:21:52 +02:00
d7fda910fb
Update stale.yml ( #4902 )
...
Labels names updated. Not sure if the spaces in label's names are going to work.
2021-03-06 14:15:46 +02:00
f7fc8ab377
Use HTTP method table from ESP-IDF's nghttp ( #4900 )
...
Fixes : #4884
* Use HTTP method table from ESP-IDF's nghttp
* Parse methods using IDF's HTTP method list
* Make example's loops to allow the CPU to switch tasks
2021-03-05 13:40:52 +02:00
dd834b3372
Ensure that String::setLen() is always after any memory operation
...
Since `String::setLen()` is now modifying the buffer, this change is required to ensure that the proper buffer is changed.
2021-03-05 12:00:39 +02:00
0e55f775d3
Fixing issue in String::remove
2021-03-04 22:41:46 +02:00
22a488cf23
Fix String::clear() not clearing the string properly
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4893
2021-03-04 21:20:27 +02:00
6e7cc5210d
Update pins_arduino.h for FireBettle-ESP32 ( #4867 )
...
* Update pins_arduino.h
Fix the bug that the IDE show: "Error compiling for the board FireBettle-ESP32"
Detial"error : redefinition of const uint8_t D0~D9"
* Update pins_arduino.h
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
2021-03-04 17:04:18 +02:00
7a6900a1f2
Correct issue 4871 - change space to underscore in boards.txt setting lolin32-lite.build.board ( #4885 )
2021-03-04 15:31:23 +02:00
0e0a7565e8
Remove tools/sdk/include/nimble from include path ( #4891 )
2021-03-04 15:30:34 +02:00
bd3addeb8e
Fixed use of Bluedroid instead of BT in HAL. ( #4879 )
...
Fixed use of CONFIG_BLUEDROID_ENABLED instead of CONFIG_BT_ENABLED in HAL. This prevented compilation with Nimble-only configuration without apparent benefit.
2021-03-01 23:55:04 +02:00
1cf1c8eb79
Fix several SD card issues ( #4876 )
...
- File might not eval to false if opened with write/append and SD is gone
- Allow card to be formatted if FAT partition was not found
- Mark card as gone in certain situations
- Fix several logic errors in low level SD API
2021-03-01 23:52:57 +02:00
3fe7c2e8cd
Add div by zero check back into WMath::map ( #4853 )
...
* Add div by zero check back into WMath::map
* include esp32-hal-log.h
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com >
2021-02-24 19:04:36 +02:00
5d00b6eb16
Fix case where EEPROM will try to return longer string than it should
...
Fixes: https://github.com/espressif/arduino-esp32/issues/4768
2021-02-24 18:47:11 +02:00
419ba32432
etboard pinmap upload ( #4748 )
...
Co-authored-by: ketri-kjy <jinyoung@ketri.re.kr >
Co-authored-by: ketri2484 <ketri2484@gamil.com >
1.0.5
2021-02-23 09:49:38 +02:00
a0ddd8a16e
IDF release/v3.3 7a85334d8 ( #4813 )
...
esp-face: master 420fc7e
esp32-camera: master a5ccbec
2021-02-23 01:06:41 +02:00
b8dab5ed1a
Added possibility to use ESP32-IDF log insted of redefined one ( #4845 )
...
With this PR user can select to use the original ESP-IDF log instead of the redefined one.
User can also redefine the log function as per [Logging Library](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/log.html#_CPPv419esp_log_set_vprintf14vprintf_like_t ) so he can for example redirect logs to a file.
To enable this change just add -DUSE_ESP32_LOG to build flags.
User can also change the default TAG (that now is ES32) to whatever it wants adding '-DTAG="tag_value"' to build flags
2021-02-23 00:18:15 +02:00
2141313148
Fix PSRAM support ( #4850 )
2021-02-23 00:15:48 +02:00