* Add ESP32-2432S028R dev board
Add support for the ESP32-2432S028R, aka Cheap Yellow Display (CYD) dev board.
* Add ESP32-2432S028R variant
Add ESP32-2432S028R, aka Cheap Yellow Display (CYD) variant
* Revise macro defined function names
Append brackets to all macro defined function names
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(timer): Typo - milis instead of millis.
* fix(doc0: format
fix CI error about format
---------
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
* fix(esp32): Fixed the hint for the builtin neopixleWrite() function
* change(esp32): Added neopixelWriteOrdered() function
* change(esp32): Added neopixelWriteOrdered() function
* change(esp32): Added neopixelWriteOrdered() function
* change(esp32): Added the possibility to specify LED color order
* change(esp32): Added the possibility to specify LED color order
* feat(rgbled): add license information
* feat(rgbled): add color order enum
* feat(rgbled): add color order feature
* feat(rgbled): change color order for lolin_s3_mini
* fix(rgbled): suffix
* fix(rgbled): suffix
* ci(pre-commit): Apply automatic fixes
* fix(rgbled): it lacks GRB case
Made GRB default + switch/case exceptions.
* fix(rgbled): add guard for rgb_led_color_order_t
If RGB_BUILTIN_LED_COLOR_ORDER is not defined, the type rgb_led_color_order_t won't be declared.
* fix(rgb-led): Implement rgbLedWriteOrdered()
* ci(pre-commit): Apply automatic fixes
* Remove const to allow changing the order
---------
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: me-no-dev <hristo@espressif.com>
Problem detected with ESP32 and ESP32-S2 when the baudrate goes to 460600 bps.
REF_TICK (2MHz) seem not to work properly.
Limiting the use of REF_TICK for up to 205 Kbps.
* Add CodeCell ESP32C3 variant folder
feat(variants): Add CodeCell ESP32C3 variant folder
Added the `codecell` folder to the `arduino-esp32/variants` directory to support the CodeCell ESP32C3 board. This folder includes the necessary pin mappings and configuration files.
* Update boards.txt for CodeCell ESP32C3
chore(board): Update boards.txt for CodeCell ESP32C3
Updated the boards.txt configuration to include settings specific to the CodeCell ESP32C3 board, such as upload speed and partition schemes.
* Update variants/CodeCell/pins_arduino.h
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
* Delete variants/CodeCell directory
* Add codecell ESP32C3 variant folder
feat(variants): Add codecell ESP32C3 variant folder
Added the CodeCell ESP32C3 variant folder to support the CodeCell ESP32C3 board.
This folder contains the necessary pin mappings and configuration files.
* Update pins_arduino.h
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(3rd_party_board): Add Fri3d Badge 2024 (ESP32-S3 WROOM 1)
Image: https://github.com/Fri3dCamp/badge_2024/blob/main/docs/badge2024.jpg
More info on https://github.com/Fri3dCamp/badge_2024
* fix(3rd_party_board): Fix built in led for fri3d badge 2024
and use less X_ variables
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(board): Add Alfredo NoU3
Add board support for Alfredo Systems NoU3.
https://www.alfredosys.com/products/alfredo-nou3/
* fix(board): added I2C and SS pins to alfredo nou3
* fix(board): set SPI and I2C pin defs to -1
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* Update M5Stack related board and pin configuration
* Remove redundant definitions
* Roll back the rainmaker partition table related configuration
* delete pid & vid
When performing an "OTA" upload via a network port, the user may configure the sketch to require
an authentication password.
Arduino IDE presents a "Configure and Upload" dialog when the user triggers an upload to a network
port. The user can provide the authentication password via the field in that dialog. The
`upload.field.password` platform property is then set to the value provided by the user.
The platform uses the `tools.esp_ota.upload.pattern` command template to pass this value to the
espota upload tool via the tool's `--auth` flag.
Since the value of the `upload.field.password` platform property is set by the user via a free text
field, it might contain any characters. Since some characters (e.g., spaces) can be problematic in
a command line, it is essential to wrap it in quotes. This was done for the Arduino IDE 1.x variant
of the command template, but that was not ported when the pluggable discovery variant of the
command pattern was defined. This causes a spurious failure of the OTA upload process if the user
provides an authentication password that contains problematic characters.
For example:
```
"C:\Users\per\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.4\tools\espota.exe" \
-r -i 192.168.254.145 \
-p 3232 --auth=foo bar \
-f "C:\Users\per\AppData\Local\Temp\arduino\sketches\E2D807FABB134A2A60A1B9C7D14FE02B/11973.ino.bin"
usage: espota.exe [-h] [-i ESP_IP] [-I HOST_IP] [-p ESP_PORT] [-P HOST_PORT]
[-a AUTH] [-f FILE] [-s] [-d] [-r] [-t TIMEOUT]
espota.exe: error: unrecognized arguments: bar
Failed uploading: uploading error: exit status 2
```
This is prevented by wrapping the `--auth` flag in quotes:
```
"C:\Users\per\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.4\tools\espota.exe" \
a-r -i 192.168.254.145 \
-p 3232 "--auth=foo bar" \
-f "C:\Users\per\AppData\Local\Temp\arduino\sketches\E2D807FABB134A2A60A1B9C7D14FE02B/11973.ino.bin"
Sending invitation to 192.168.254.145
Authenticating...OK
Uploading: [ ] 0%
```
* Correct Float type size
Correct in the data type table and the API call the size of the Preferences `Float` type and returned value for `putFloat()`.
* Update Float call prototype
* Correct Float type size
Correct Float type size in the Preferences Types table.
Revise text to use `float_t` in place of `float`.
* Correct doc build error
Correct the `Explicit markup ends without a blank line; unexpected unindent.`
* Update WebServer.ino
* Enable FAT and LittleFS filesystems as configured.
* use new versions of RequestHandler::canHandle and RequestHandler::canUpload
* Update Documentation
* Documentation changed accoring review comments.
* README.md changed accoring to review comments.
* feat(net): Add NAPT examples for STA and ETH
* feat(net): Add NAPT example for PPP
* feat(net): Add CI configs to skip H2
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(uart): Sets XTAL as clock source for uart
C6 and H2 have problems after returning from light sleep. The baud rate seems to be off when APB is used as clock source.
This fix solves the issue using a steady clock source.
* fix(typo): Typo and commentaries
Adds C2 in the XTAL list.
* fix(uart): adjust get/set baudrate
Fixes the functions for reading/writing UART baudrate by using IDF functions instead of HAL/LL.
* fix(uart): uses REF_TICK for ESP32/S2
* fix(uart): esp32/s2 baudrate > 1MHz
Fixes the baudrate for ESP32 and ESP32-S2 when the baud rate is higher than 1MHz.
REF_TICK is just 2MHZ and can handle up to 1MHZ baudrate.
* fix(uart): rxTimeout minimum
Default RxTimeout changed to the minimum = 1.
When TICK_REF is used as clock source, this is mandatory,
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Prints the value of the chip features bitfield to printChipInfo() to facilitate debugging.
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* fix(lwip): Add early out in `NetworkUDP::parsePacket()` when socket has no data
Previously, `NetworkUDP::parsePacket()` would take the time to allocate a 1460 byte buffer
to call `recvfrom()` with, immediately freeing it if there was no data read.
This change has it check if there is available data via `ioctl()` with `FIONREAD` first,
saving the allocation and thus significantly increasing performance in no data situations.
* fix(lwip): Initialize `len` to ensure it's set before check