- 31 Aug, 2021 4 commits
-
-
Unexpected Maker authored
-
Mark authored
Fixes: https://github.com/espressif/arduino-esp32/issues/5573 To reproduce: 1. Run any sample code that starts a BLE server, and does not call `setCallbacks`. 2. Connect to the device using the "LightBlue" app on iOS. 3. Observe crash shown in the issue linked above.
-
rcombs authored
## Summary Applies the upstream changes here: https://github.com/arduino/ArduinoCore-API/compare/3b88acac8%5E...0d83f1afc3367037dbde5323c2abd0ae1bd2c583 ## Impact Adds new String convenience methods that are now available in the mainline Arduino implementation, simplifying interoperability with C code that uses pointer+length strings rather than 0-termination. Also includes a change to avoid mutating the source string when taking a substring.
-
Me No Dev authored
* Add support for the hardware CDC in ESP32-C3
-
- 25 Aug, 2021 1 commit
-
-
Francisco de los Ríos authored
-
- 24 Aug, 2021 1 commit
-
-
Rodrigo Garcia authored
* Adds rxBufferSize parameter to begin() * Adds HardwareSerial::setRXBufferSize()
-
- 23 Aug, 2021 10 commits
-
-
beamholder authored
* Include nvs_commit() on three methods In [Preferences.cpp](https://github.com/espressif/arduino-esp32/blob/master/libraries/Preferences/src/Preferences.cpp), the functions: ``` Preferences::clear() Preferences::remove() Preferences::end() ``` should be revised to include a call to `nvs_commit()` as required per [Non-volatile storage library](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/nvs_flash.html) when using ``` nvs_erase_all() nvs_erase_key() nvs_close() ```
-
Me No Dev authored
* Add support and example for USB HID Devices * Add support and example for USB Vendor
-
Rodrigo Garcia authored
## Summary This PR is a complete reffactoring of UART Serial Hardware and respective HAL in order to use IDF instead of current Register manipulation approach. It implements Arduino SerialEvent functionality. Fix #5287 Fix #5273 Fix #5519 Fix #5247 Fix #5403 Fix #5429 Fix #5047 Fix #5463 Fix #5362 Fix #5112 Fix #5443 ## Impact It solves many reported issues related to UART. It was tested and works fine for ESP32, ESP-S2 and ESP32-C3.
-
Eddie Espinal authored
## Summary Adds support for the new ATMegaZero ESP32-S2 board. Adds the relevant section to `boards.txt` and adds the folder for the `atmegazero-esp32s2` with the proper `pins_arduino.h` to the `variants` folder. ## Impact Allows users to compile code properly for the ATMegaZero ESP32-S2 without having to use a similar board and manually entering pin numbers. ## Links [ATMegaZero ESP32-S2](https://atmegazero.com/#/atmegazero_esp32s2_overview) Thanks!
-
Sean Hagen authored
* Add SparkFun ESP32 MicroMod to boards.txt Copied from the tarball found in the SparkFun board manager [JSON](https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json), v1.0.1 -- [tarball can be found here](https://github.com/sparkfun/Arduino_Boards/raw/main/IDE_Board_Manager/sparkfun-esp32-1.0.1.tar.bz2) * Add `pins_arduino.h` for ESP32 MicroMod Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
-
Zeynep Dicle authored
* The board.txt has been updated. Added variant folder. Necessary additions for deneyapMiniKart were made in board.txt. Added pins_arduino to variant folder. deneyapMiniKart information has been added. * Added variant files and added text in board.txt Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
-
Lori authored
-
Tim authored
* Fix issue #5507 "Constructor WebServer::WebServer(IPAddress addr, int port) produces an unexpected result" "The class Webserver is declared with two explicit constructors, one with signature: WebServer::WebServer(IPAddress addr, int port) Using this results in a server listening on the port number obtained by converting the value of the IPAddress addr argument (in host byte order) to a uint32_t and then to a uint16_t, which is manifestly not the result that would be expected. ... As for a fix, we can assume from these results that this constructor is not being used and therefore could simply be deleted." * Issue 5507 Reverse changes in commit bee1e7088cef913391155f096b42cd4bb89c5c6f after discussion. Alternative fix to be done. * Fix issue #5507 "Constructor WebServer::WebServer(IPAddress addr, int port) produces an unexpected result" This change adds support for multi-homed servers to libraries/WiFi. It was assumed to be there already by libraries/WebServer, but was not. This led to unexpected results when the IP address-specific constructor of class WebServer was used (see issue 5507). This change was tested using three concurrent instances of WebServer, one bound to the WiFi station address, one bound to the WiFi soft AP address, and one bound to INADDR_ANY. See libraries/WebServer/examples/MultiHomedServers for the test method. * Fix issue #5507 "Constructor WebServer::WebServer(IPAddress addr, int port) produces an unexpected result" (cont.) This fixes what I think might be the cause of CI failures on GitHub for the previous commit, namely the absence of an include file in examples/MultiHomedServers. * Fix issue #5507 "Constructor WebServer::WebServer(IPAddress addr, int port) produces an unexpected result" (cont.) Change port numbers in examples/MultiHomedServers per pull-request comment from me-no-dev ... "for this test to be valid, both servers should be on the same port. That is how you can make sure that the functionality works."
-
Pedro Minatel authored
This PR adds the support for the Franzininho WiFi board in CDC and MSC modes. References: https://franzininho.github.io/docs-franzininho-site/docs/franzininho-wifi/franzininho-wifi/ https://github.com/Franzininho/imagens-franzininho/blob/main/franzininho_wifi/pinagem-franzininho-wifi.png
-
Pedro Minatel authored
Moved links to the botton
-
- 19 Aug, 2021 1 commit
-
-
Me No Dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/5562
-
- 18 Aug, 2021 2 commits
-
-
Pedro Minatel authored
[DOCS] Added LOLIN dev kits links to the boards list in the documentation
-
Pedro Minatel authored
-
- 17 Aug, 2021 1 commit
-
-
me-no-dev authored
``` /* 0x0000 */ 0x7b, 0x7b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // {{.............. /* 0x0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ................ ```
-
- 16 Aug, 2021 1 commit
-
-
pedro.minatel authored
-
- 12 Aug, 2021 2 commits
-
-
Rodrigo Garcia authored
Fixes #5493 ## Summary PR #4996 has broken Touch Interrupt functionality by removing a single line of code used to set a Register. ## Impact This PR fixes issue #5493 by reverting the removal of necessary code as described above.
-
Me No Dev authored
Thanks @chegewara I2C Scan was failing because i2c_master_write does not accept size of 0. This change checks and skips that call if no length is provided (usually when scanning)
-
- 11 Aug, 2021 5 commits
-
-
ketri2484 authored
ET-Board No internal LED pin Missing internal LED pin have been added to this commit.
-
Tim authored
Fix issue #5506 "WebServer serveStatic () can cause LoadProhibited exception in _svfprintf_r" (#5508) "Using a Core Debug Level of Verbose and the WebServer serveStatic() function with the default value of nullptr for its cache_header argument, results in a LoadProhibited exception in _svfprintf_r(). This is because serveStatic() calls log_v() with cache_header corresponding to a "%s" in its format but without checking that cache_header is not nullptr, and then logv() (indirectly) calls _svfprintf_r(). On the other hand, with a Core Debug Level other than Verbose, this does not occur." Changed serveStatic() to the check value of cache_header and if it is nullptr, instead pass an empty string to log_v().
-
Drzony authored
## Summary https://github.com/espressif/arduino-esp32/pull/5487 introduced a default timeout for WiFiClient, however the default was specified in milliseconds instead of seconds, see https://github.com/espressif/arduino-esp32/commit/be84c8219c251210afd87cac71b8ef3527b601b3#commitcomment-54358731 This 3ms timeout breaks OTA when the processor is busy. ## Impact Sets the default to a saner value, fixes OTA.
-
Me No Dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/5513 Can still race if Serial.begin() is not called in setup()
-
Me No Dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/5503
-
- 02 Aug, 2021 5 commits
-
-
Me No Dev authored
* Add initial support for USB MSC * Add Firmware Upload/Download With MSC Current running firmware is available as file inside the MSC Disk. To update the firmware on the ESP, just copy a regular firmware bin into the drive * Support overwriting of the firmware file Overwriting a file is done totally differently on MacOS, Windows and Linux. This change supports it on all of them. * Allow CDC, FirmwareMSC and DFU to be enabled on boot * Add example ESP32-S2 USB-ONLY board * Various device code optimizations Added `end()` methods to MSC classes Made begin() methods safe to be called multiple times Optimized CDC class * Fix CDC Connect/Disconnect detection in Arduino IDE on Windows * Rework cdc_write * Update ESP32-S2 board configs
-
Krzysiek S authored
## The problem WiFiClient's connect method variant where no timeout is passed can block esp32 MCU and may then cause watchdog to kick in and reset the device. This behavior is different from that, what is in arduino-esp8266 core. ## Summary Some cross-esp libraries (working both on esp32 and 8266), like PubSubClient simply call connect method on WiFiClient, to get connected to remote server. However, connect behavior varies betwen esp arduino 8266 and esp arduino 32 cores. This pull request tries introduce same behavior - to make connect method non-blocking on esp32, like it is with 8266 arduino core. ## Proposed solution Introduce default fixed timeout that can be changed by #define - by default set to 3 seconds. ### Affected components: WiFiClient ### Affected methods: ```c++ int connect(IPAddress ip, uint16_t port); int connect(const char *host, uint16_t port); ``` ### Impact May impact projects or libraries using connect method variant without specified timeout, where: - remote is located far away or - connection is heavily limited, or - remote is slow, when it comes to accept the connection
-
t-oot authored
In [HTTPClient](https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPClient), if the `Transfer-Encoding` header is set to `identity`, an error (Transfer-Encoding not supported) will occur. HTTPClient will consider the request as `identity` if the `Transfer-Encoding` header is not set. But it is also defined a response with `identity` explicitly set in the `Transfer-Encoding` header (ref:[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding)). This pull request will allow the request to be processed normally even when `identity` is explicitly set.
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/4842
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/5488
-
- 29 Jul, 2021 2 commits
-
-
pulquero authored
CLASSIC_BT_ENABLED never worked as was incorrectly named, e.g. see https://github.com/nkolban/esp32-snippets/issues/890#issuecomment-521520934 Now corrected to the update-to-date name CONFIG_BT_CLASSIC_ENABLED.
-
chegewara authored
-
- 26 Jul, 2021 5 commits
-
-
Rodrigo Garcia authored
Fixes: #5375 Fixes: #5050
-
Sagar authored
-
rtrbt authored
-
Me No Dev authored
-
Me No Dev authored
esp-dsp: master f4d7d6e esp-face: master 420fc7e esp-rainmaker: f1b82c7 esp32-camera: master 6a9497b esp_littlefs: master b58f00c
-