- 28 Mar, 2022 11 commits
-
-
Gonzalo Brusco authored
* Adds HardwareSerial::onReceiveTimeout() * Fixed typo * Changes requested * Fix eventQueueReset * Changed _onReceiveTimeout to _rxTimeout for consistency * Uniform uart_set_rx_timeout condition * test _uart not NULL in eventQueueReset() check if _uart is not NULL before using it. * revert last commit - no need for it reverting last change made - it is not necessary. * adds onReceive() parameter In order to allow the user to choose if onReceive() call back will be called only when UART Rx timeout happens or also when UART FIFO gets 120 bytes, a new parameter has been added to onReceive() with the default behavior based on timeout. void onReceive(OnReceiveCb function, bool onlyOnTimeout = true); onReceive will setup a callback that will be called whenever an UART interruption occurs (UART_INTR_RXFIFO_FULL or UART_INTR_RXFIFO_TOUT) UART_INTR_RXFIFO_FULL interrupt triggers at UART_FULL_THRESH_DEFAULT bytes received (defined as 120 bytes by default in IDF) UART_INTR_RXFIFO_TOUT interrupt triggers at UART_TOUT_THRESH_DEFAULT symbols passed without any reception (defined as 10 symbos by default in IDF) onlyOnTimeout parameter will define how onReceive will behave: Default: true -- The callback will only be called when RX Timeout happens. Whole stream of bytes will be ready for being read on the callback function at once. This option may lead to Rx Overflow depending on the Rx Buffer Size and number of bytes received in the streaming false -- The callback will be called when FIFO reaches 120 bytes and also on RX Timeout. The stream of incommig bytes will be "split" into blocks of 120 bytes on each callback. This option avoid any sort of Rx Overflow, but leaves the UART packet reassembling work to the Application. * Adds onReceive() parameter for timeout only * Adds back setRxTimeout() * Adds setRxTimeout() * CI Syntax error - "," missing Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
-
Limor "Ladyada" Fried authored
-
Me No Dev authored
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com> Co-authored-by: Unexpected Maker <seon@unexpectedmaker.com> Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com> Co-authored-by: Tomáš Pilný <34927466+PilnyTomas@users.noreply.github.com> Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com> Co-authored-by: Ivan Grokhotkov <ivan@espressif.com> Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net>
-
Xylopyrographer authored
* Add Preferences library API and tutorial documents Add API and tutorial documents for the Preferences library. * Revise per review Correct some errors. Remove the "wordiness" is a few places. * Correct link to Preferences API Update the references and link to the Preferences API document. Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com> Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
-
Stefano Garuti authored
-
tobozo authored
* Update SD.h * Added numSectors() and sectorSize()
-
Jan Procházka authored
* Edited VFSFileImpl::read to use both read/fread * Added missing include
-
Rodrigo Garcia authored
-
ThousanDIY authored
First aid for ESP32 builds not passing in Arduino IDE on macOS Monterey 12.3 that obsolete "python2.7".
-
Rodrigo Garcia authored
* Fixes USB CDC setRxBufferSize(), begin(), _onRX() * Fixes SetRxBufferSize(0) with end() * Fixes reset when 2x call to end() * Adds RX_OVERFLOW_EVENT and Queue Copy in setBufferSize * changed event name to ARDUINO_USB_CDC_RX_OVERFLOW_EVENT
-
Gonzalo Brusco authored
* Adds HardwareSerial::setTxBufferSize() * uartBegin def fix * checks TXBufferSize as defined in IDF Makes sure that the buffer size will not cause a reset to the board. * Removes double value in Rx/Tx Buffer Size Keeps Rx/Tx buffer size as set, not doubling it. It makes the process more clear. Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
-
- 23 Mar, 2022 1 commit
-
-
s-hadinger authored
* Fix boot freeze when trying to init PSRAM on Pico D4 * Don't deconfigure GPIO16/17 in Pico D4
-
- 18 Mar, 2022 1 commit
-
-
Pedro Minatel authored
* [Docs] Added the guideline for documentation * [Docs] Added more descriptions about the API documenting process * [Docs] PR review * [Docs] PR review and minor typos and grammar fixes
-
- 15 Mar, 2022 1 commit
-
-
John P. Swensen authored
Summary The examples demonstrate how to create a WPA2 Enterprise connection, but it requires using various direct esp_idf functions. This patch is intended to create another overloaded version of the WiFi.begin() function that allows a user to create a WPA2 Enterprise connection in much the same way as different kinds of connections. My only question for the core maintainers is whether I should leave those #ifdef's in there. I added them so that it was easy to disable all the code I added via defines from my platformio.ini file, but they technically aren't necessary. Impact This should make it easier for novice users to create WPA2 Enterprise connections. For my university, I didn't need a root certificate or the client certificate or client key, so I haven't been able to debug those scenarios, but I built the begin functions to allow any one of those to be used, if needed. I can confirm that eduroam-style WPA2 Enterprise networks that only require authentication with a username and password works as expected.
-
- 14 Mar, 2022 3 commits
-
-
Limor "Ladyada" Fried authored
* make work with rev C pcb * use #define for easy testing
-
mrengineer7777 authored
In my project I'm getting the error ``` In file included from lib/Discovery/Discovery.cpp:2: C:/Users/David/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src/AsyncUDP.h:47:1: error: expected class-name before '{' token ``` Adding a reference to Stream.h fixes it.
-
Abdelatif Guettouche authored
1. Don't run the publish test result workflow on the master branch. 2. Run only on Pull Requests to be able to publish the result as a PR comment. 3. Avoid running when the triggering workflow was skipped, this will cause a failure as no file will be uploaded. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
-
- 10 Mar, 2022 8 commits
-
-
Tomáš Pilný authored
* Implemented tone * Tone uses queue; implemented setToneChannel
-
Abdelatif Guettouche authored
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
-
Rodrigo Garcia authored
-
Pedro Minatel authored
-
P-R-O-C-H-Y authored
* Fixed LEDC panic when wrong bit widht / frequency set. * Fixed ledc example to be working on all SOCs
-
Vojtěch Bartoška authored
-
Rodrigo Garcia authored
* Fixes rmtDeinit() and tests RX/TX before operations * Optimizes final binary size * Typo
-
Abdelatif Guettouche authored
- Added workflow triggered by cron or label "hil_test" - Added examples with both pytest and unity
-
- 02 Mar, 2022 5 commits
-
-
Andreas Merkle authored
Bugfix of the following problems: Invalid variable argument list used to retrieve length. If length is greater or equal than the available buffer, a memory leak will happen because va_end() is missing. (#6360)
-
Rodrigo Garcia authored
* Adds C++ std::function to Serial.onReceive() * fixes LOCK macro when disabled
-
Rodrigo Garcia authored
* Fixes DHCP Server Lease Range for any AP Server Static IP Address * Fixes DHCP in APMode when Static IP is out of subnet range
-
P-R-O-C-H-Y authored
-
Pedro Minatel authored
Added dual antenna configuration based on the module selection Added warning to the example on how to use the DA
-
- 28 Feb, 2022 7 commits
-
-
Verkehrsrot authored
#ifdef added, to avoid compiler redefinition warnings for LOG_LOCAL_LEVEL if defined by application, and we USE_ESP_IDF_LOG
-
Pedro Minatel authored
Summary Added the Dual Antenna documentation. Added the DA example.
-
P-R-O-C-H-Y authored
-
Pedro Minatel authored
* Added more details about PlatformIO * Fixed typo
-
Andreas Merkle authored
Because QName max. size is 256, the QNameLength range must be able to address it. Therefore the datatype was changed to uint16_t. (#6354)
-
Limor "Ladyada" Fried authored
fix uarts Co-authored-by: ladyada <support@adafruit.com>
-
Verkehrsrot authored
-
- 23 Feb, 2022 3 commits
-
-
WEMOS Electronics authored
-
Zeynep Dicle authored
* Add new board (Deneyap Kart 1A) * Update pins_arduino.h
-
Me No Dev authored
.github/workflows: Remove the slefhost runner test.
-