4126 Commits

Author SHA1 Message Date
Lucas Saavedra Vaz
953a7b6b14 fix(ci): Fix fetching wrong PR number 2026-03-11 23:19:30 -03:00
Lucas Saavedra Vaz
798da9a5a4 fix(ble): Fix license compliance (#12440) 2026-03-11 18:34:16 -03:00
Lucas Saavedra Vaz
d5c4df22c9 fix(ci): Fix PR num fetch 2026-03-11 00:52:48 -03:00
Copilot
1a8d72ddd4 Update: Fix signed OTA signature verification bypass when installSignature() called before begin() (#12425)
* Initial plan

* fix: preserve _signatureSize across _reset() to prevent signed OTA bypass

Co-authored-by: lucasssvaz <32426024+lucasssvaz@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lucasssvaz <32426024+lucasssvaz@users.noreply.github.com>
2026-03-05 13:21:30 +02:00
Lucas Saavedra Vaz
28fc1822d9 ci(gitlab): Improve GitLab reliability (#12415) 2026-03-05 13:20:54 +02:00
opilat
d23c972675 fix(arduino_nano_nora): Prevent array index out of bounds to happen (#12423)
Co-authored-by: ondrap <pilat.ondrej@seznam.cz>
2026-03-04 15:39:03 +02:00
Lucas Saavedra Vaz
88f54324b5 fix(ble): Fix Bluedroid advertising payload without scan response (#12396)
* fix(ble): Fix Bluedroid advertising payload without scan response

* ci(pre-commit): Apply automatic fixes

* fix(pre-commit): Apply fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-04 15:38:20 +02:00
Lucas Saavedra Vaz
f65f49b32b fix(format): Fix and future-proof format specifiers (#12404)
* fix(format): Fix and future-proof format specifiers

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-04 15:37:44 +02:00
Lucas Saavedra Vaz
55ee3914a8 feat(console): Add console library (#12391)
* feat(console): Add console library

* fix(console): Apply suggestions

* fix(console): Fix compilation

* fix(console): Apply suggestions

* fix(console): Improve console test

* fix(console): Replace unsafe functions

* fix(console): Fix documentation

* ci(pre-commit): Apply automatic fixes

* fix(pre-commit): Apply 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>
2026-03-04 15:37:18 +02:00
Me No Dev
b870cb013c feat(eth): Allow setting multicast filters on ETH (#12409)
* feat(eth): Allow setting multicast filters on ETH

* fix(eth): Multicast filtering is available since IDF 5.5

* feat(eth): Allow MAC filtering and allow all multicast by default

* feat(eth): Apply suggestions

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-28 17:15:11 +02:00
BitToby
7bf8eb0938 feat(usb): add keyboard layout validation tests (#12397)
* feat(usb): add keyboard layout validation tests

* fix: add fr_CH to CMakeLists

* Enable test in hardware

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-27 17:03:58 +02:00
Me No Dev
0c2a787592 IDF v5.5.3 2c211b23 (#12411) 2026-02-27 17:03:05 +02:00
Me No Dev
233768369e fix(sr): Update ESP_SR to the latest features (#12376)
* fix(sr): Update ESP_SR to the latest features

* fix(example): Define light pin if LED_BUILTIN is undefined

* fix(build): Rework variable used only in debug

* fix(sr): Apply suggestions

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-27 01:17:25 +02:00
Saulo Verissimo
14381e214f feat(usb): Add MidiMultiChannel example for advanced USBMIDI API (#12401)
* feat(usb): Add MidiMultiChannel example for advanced USBMIDI API

Demonstrates program change, pitch bend (signed/unsigned overloads),
channel pressure, and multi-channel playback using the built-in BOOT
button on ESP32-S2/S3.

Key features:
- 16 GM program changes across 4 channels
- Full-range pitch bend using both signed and unsigned overloads
- Debounce algorithm for INPUT_PULLUP (active-low) button
- ci.yml gating for CONFIG_SOC_USB_OTG_SUPPORTED targets only

Closes: no related issue — new educational example.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-27 01:17:06 +02:00
Lucas Saavedra Vaz
cc8541507e ci(codeql): Do not cancel jobs if one fails (#12410) 2026-02-26 19:39:38 +02:00
Lucas Saavedra Vaz
4ddbcec9ba feat(ble): Add local IRK retrieval and fix peer IRK in bluedroid (#12394) 2026-02-26 19:39:16 +02:00
BitToby
1c78d6d4aa feat(usb): Add Swiss French (fr_CH) keyboard layout (#12395)
* feat(usb): Add Swiss French (fr_CH) keyboard layout

Add KeyboardLayout_fr_CH for the Swiss French QWERTZ keyboard, following
the same structure and conventions as the existing layouts (de_DE, fr_FR,
etc.).

Changes:
- KeyboardLayout_fr_CH.cpp: 128-byte ASCII-to-scancode mapping table
- Keyboard_fr_CH.h: locale-specific key defines (è, é, à, §, ^, ¨)
- USBHIDKeyboard.h: extern declaration for the new layout
- test_layout_fr_CH.c: host-side verification test (439 checks)

Dead keys (^, `, ~) are mapped to 0x00 consistent with de_DE, sv_SE,
and es_ES. Digits are directly accessible without Shift (QWERTZ, not
AZERTY). Y/Z keys are swapped per the Swiss/German physical layout.

Based on the work from https://github.com/bernardgisin/arduino-esp32-keyboard-fr_CH

Co-Authored-By: bernardgisin <bernardgisin@users.noreply.github.com>
Co-Authored-By: bittoby <bittoby@users.noreply.github.com>

* refactor: remove test code

* fix:add fr-CH to Cmake file

---------

Co-authored-by: bernardgisin <bernardgisin@users.noreply.github.com>
Co-authored-by: bittoby <bittoby@users.noreply.github.com>
2026-02-26 13:57:44 +02:00
Ethac.chen
fb25e62cc1 feat(rak3112): add conditional macros for rakwireless-audio library support (#12399)
* feat(rak3112): add conditional macros for rakwireless-audio library support

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-25 12:20:05 +02:00
powerfeatherdev
abd5694095 Add board revision menu option for ESP32-S3 PowerFeather (#12387) 2026-02-25 12:19:45 +02:00
Sick-E
78ad5eca0a fix(webserver): reset _contentLength after _streamFileCore send (#12385)
* fix(WebServer): reset _contentLength after _streamFileCore send

After calling send() in _streamFileCore, _contentLength retained the
file size value and was incorrectly reused in subsequent response
handlers, causing ERR_CONTENT_LENGTH_MISMATCH in the browser.

Reset _contentLength to CONTENT_LENGTH_NOT_SET after send() to prevent
leaking file size into unrelated responses.

* Commit message (subject):
Move .idea/ to IDE section in .gitignore

Description (body):
Relocated .idea/ entry from the bottom of the file to the IDE-related section alongside .vscode/ and .vs/.

* fix(webserver): reset _contentLength to CONTENT_LENGTH_NOT_SET after _streamFileCore

Description (body):
Replaced dedicated resetContentLength() method with a direct call to
setContentLength(CONTENT_LENGTH_NOT_SET) at the end of _streamFileCore,
reusing existing API without requiring a new declaration in WebServer.h.
2026-02-25 12:19:27 +02:00
Lucas Saavedra Vaz
e59f55d813 feat(ble): Add on-demand security support for Bluedroid (#12363)
* feat(ble): Add on-demand security support for Bluedroid

* fix(ble): Fix copilot comments

* ci(pre-commit): Apply automatic fixes

* fix(workflow): Fix formatting

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-24 02:25:56 +02:00
Lucas Saavedra Vaz
89bcb9c2c7 change(esptool): Upgrade to version 5.2.0 (#12378) 2026-02-19 14:07:14 +02:00
Lucas Saavedra Vaz
6e31ebdde8 fix(codeql): Fix codeQL warnings and improve pre-commit hooks (#12364) 2026-02-18 23:06:45 +02:00
Sugar Glider
7cc2271ba9 feat(serial): Serial baud rate detection example documentation (#12360)
* feat(serial): Serial baud rate detection example documentation

* fix(serial): clarify baud rate detection capabilities in README

Updated README to clarify that baud rate detection can be performed on any available UART port, not just UART0. Improved wording for better understanding of the baud rate detection feature and its configuration options.

* fix(serial): match listed baud rates with the list from the code.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(serial): precise commentary about the baud rate result

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(serial): Clarify UART pin usage for baud rate detection

Updated README to clarify UART pin usage and detection.

* fix(serial): baud rate range better documented.

* fix(serial): typo

* fix(serial): typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-18 23:06:21 +02:00
Povilas Dumcius
5aa75133d8 feat(board): Add Axiometa Genesis Mini board support (#12374)
* added a new axiometa genesis mini board

* added board.txt for axiometa genesis mini
2026-02-18 14:42:19 +02:00
Lucas Saavedra Vaz
148ae738cf fix(wifi): Fix uninitialized struct warning (#12361) 2026-02-18 14:41:58 +02:00
Dogus Cendek
9777696abe Update Flash Size 8MB instead of 4MB (#12187)
* Updated Pins of Devkits

Deleted soc_caps.h library and related commands at Deneyap Kart 1A v2, Deneyap Kart 1A, Deneyap Mini and Deneyap Mini v2.
Added TX1 and RX1 pins and updated LED pin definition at all Devkits.
Added BOOT (BT) pins at Deneyap Kart, Deneyap Kart 1A, Deneyap Mini and Deneyap Kart G.
Changed D0 and D1 pin numbers at Deneyap Kart G.
Changed D12, D13, D14, D15, PWM0 and PWM1 pin numbers at Deneyap Kart 1A v2.
Added A8, T0, T1, T2, T3, T4, T5, T6, T7, T8, D16, D17, D18, D19, PWM2, PWM3, PWM4 and BAT pin numbers at Deneyap Kart 1A v2.
Changed A2, A3, A4 (T0) and A5 (T1) pin numbers at Deneyap Kart and Deneyap Kart 1A.
Renamed DA2 (DAC2) pin as DA0 (DAC0) and changed DAC1 and DAC2 pin numbers at Deneyap Mini and Deneyap Mini v2.

* Updated board.txt of all Devkits

Updated board.txt of all Devkits

* Remove Repeating Pin Definition

Remove Repeating Pin Definition

* Fix Pin Definition

Remove repeating pin definitions of SPI, I2C and DAC.
Update RGB LED definition for using digitalWrite() command with RGB LED.

* Remove Repeating Pin Definitions

Remove repeating pin definitions of LEDB, SPI, I2C and DAC.

* Update RGB LED definition

Update RGB LED definition for using digitalWrite() command with RGB LED.

* Fix broken links for external library test

Fix broken links for external library test

* Update UploadMode Config of Deneyap Kart 1A v2

Update UploadMode Config of Deneyap Kart 1A v2

* Add Deneyap Kart v2

Add pin definitions and configs of Deneyap Kart v2.

* Update UploadMode config

Hardware CDC is default now.

* Fixed typo fault

Fixed typo fault

* Fixed build.board parameter

Fixed build.board parameter

* Removed unsupported Flash sizes and RAM type

Removed unsupported Flash sizes and RAM type from menu.

* Remove unsupported partition options

Remove unsupported partition options

* Fixed Annotations and Space

* Update pins_arduino.h

* Update board.txt

Deneyap Kart v2 has been powered by ESP32-S3-WROOM-1-N8R8 instead of ESP32-S3-WROOM-1-N4R8

* Update boards.txt

fix "Flash Size" menu

* Update Default Flash Size Selection
2026-02-18 14:41:27 +02:00
Me No Dev
37ef130030 feat(board): Add support for DFRobot FireBeetle 2 ESP32-P4 (#12366) 2026-02-16 15:46:00 +02:00
Lucas Saavedra Vaz
4a08ef4163 fix(ci): Fix multi dut test paths 2026-02-13 13:47:54 -03:00
Lucas Saavedra Vaz
4802814aaf fix(ci): Fix detection of multi DUT test results 2026-02-12 10:12:20 -03:00
github-actions[bot]
c94a9a59df change(version): Update core version to 3.3.7 3.3.7 2026-02-12 00:01:13 +00:00
Me No Dev
0d104273ac IDF release/v5.5 (#12257)
* IDF release/v5.5 0fd9f0aa

* fix(build): Change ESP32P4 LP UART Clock

* fix(uart): P4 uses default LP clock

* IDF release/v5.5 bc7a18fe

* IDF release/v5.5 87912cd2

* IDF release/v5.5 87912cd2

* IDF release/v5.5 87912cd2

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2026-02-12 01:29:34 +02:00
Sugar Glider
cb4b0ac769 Fix Arduino Matter using esp32c5 disabled psram that causes runtime crash (#12353)
* feat(matter): implement OpenThread message pool wrapper

This file implements a wrapper for the OpenThread message pool, providing functions to initialize, allocate, and free message buffers based on the available memory (PSRAM or internal RAM). It ensures correct buffer allocation according to the platform configuration.

* feat(matter): add OpenThread message pool wrappers in CMakeLists

Added OpenThread message pool wrapper functions for ESP32 targets.

* feat(matter): add linker flags for otPlatMessagePool functions

* fix(matter): commentary update CMakeLists.txt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(matter): explicit internal memory allocation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(matter):Implement message pool initialization and deinitialization

Added buffer pool management functions for OpenThread.

* fix(matter): testing commenting out openthread/instance.h include

Commented out the inclusion of 'openthread/instance.h' to prevent potential conflicts.

* fix(matter): guard openthread include and declaration

* fix(matter): Add sdkconfig.h include for OpenThread support

* fix(matter): endif order

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(openthread): Add CONFIG_OPENTHREAD_ENABLED condition for linking

* fix(openthread): Add wrap option for otPlatMessagePoolDeinit

* fix(openthread): Add wrap for otPlatMessagePoolDeinit in elf flags

* fix(openthread): Modify OpenThread message pool condition for linking

* fix(openthread): Update OpenThread condition for message pool settings

* fix(openthread): roll back platform.txt wrapping flags

Removed unnecessary linker flags and updated elf flags.
Those will be placed in the SoC ld flags files.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-11 21:37:40 +02:00
BigBee
4e42521cf0 feat(board): Add RootMaker Touch S3 Board (#12334)
* feat(board): Added RootMaker Touch S3 Board

* fix(options): Cancel other unavailable flash options

* fix(options): 1.add:add a QIO 120Mhz Flash mode;2.removed 32M partitions

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-11 15:59:25 +02:00
Jan Procházka
59c488d59f fix(zigbee): electrical measurement types — int16_t for power, uint16_t for others (#12352) 2026-02-11 15:44:51 +02:00
dependabot[bot]
90f9f6b249 build(deps): bump cryptography from 44.0.1 to 46.0.5 in /tests (#12348)
Bumps [cryptography](https://github.com/pyca/cryptography) from 44.0.1 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/44.0.1...46.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2026-02-11 11:43:08 +02:00
Lucas Saavedra Vaz
c536094b40 fix(ble): Fix address types in Bluedroid (#12347) 2026-02-11 11:42:23 +02:00
Jan Procházka
d9deb85317 fix(zigbee): read fan mode attribute as single byte in FanControl EP (#12346) 2026-02-11 11:42:03 +02:00
Gonzalo Brusco
6acc893b85 PPP: Add burst of AT commands to lock autobaudrate on begin (#12314)
* Add burst of AT to lock autobaudrate

* Make burst configurable

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2026-02-11 11:41:46 +02:00
Lucas Saavedra Vaz
a5c98a27f8 fix(ci): Fix ci.yml copying 2026-02-10 20:55:20 -03:00
Lucas Saavedra Vaz
cffa753791 fix(ci): Add flash_args to artifacts 2026-02-10 19:29:36 -03:00
Lucas Saavedra Vaz
165a874530 ci(tests): Add support for multiple duts (#12063)
* ci(tests): Add support for multiple duts

* ci(readme): Update readme

* Fix ble test

* Fix requirements check

* fix(test): Use new network API for tests

* fix(wifi): Fix conflicting param name and add String overloads

* ci(pre-commit): Apply automatic fixes

* fix(tests): Fix pre-commit errors and add eco_default tag

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-10 23:03:32 +02:00
Lucas Saavedra Vaz
1a98625a64 fix(wifi): Fix conflicting param name and add String overloads (#12343)
* fix(wifi): Fix conflicting param name and add String overloads

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-10 23:03:03 +02:00
Lucas Saavedra Vaz
c4eab5fa26 fix(ble): Fix connection issues in Bluedroid and GAP naming in NimBLE (#12318)
* fix(ble): Fix GAP name persistance with NimBLE

* fix(ble): Await for Adv data in Bluedroid and match nimble

* Fix possible deadlocks
2026-02-10 18:09:43 +02:00
fredlcore
fa2a91d34b Added Ethernet definitions and UART2 pins (#12312)
* Added Ethernet definitions and UART2 pins

Referring to issue https://github.com/espressif/arduino-esp32/issues/12311
The pins_arduino.h for the Oliemx ESP32-EVB is missing several relevant entries that are availabe for the (almost identical) Olimex POE and Olimex POE-ISO.
If these are not defined (especially ETH_PHY_ADDR), then begin() in ETH.h will always return false. This does not affect DHCP-established network connections, but rather those where you use a static IP address.

* Update comment for ETH_PHY_POWER in pins_arduino.h

Clarified comment for ETH_PHY_POWER definition.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-10 17:42:18 +02:00
Ethac.chen
f79b46ac52 fix(rak3112): add missing TX1/RX1 pin definitions for Serial1 (#12304)
- Adds `static const uint8_t TX1 = 43;` and `static const uint8_t RX1 = 44;`
- Allows using `Serial1.begin(115200)` with default pins on RAK3112 board
- Verified on hardware with RAK5860 module
2026-02-10 17:41:37 +02:00
Gonzalo Brusco
631ebd4f62 Add configurable boot delay after reset sequence (#12344) 2026-02-10 17:02:14 +02:00
Lucas Saavedra Vaz
91e46a480f fix(m5stack_tab5): Add chip variant menu (#12341) 2026-02-10 16:42:21 +02:00
Jan Procházka
2cfe8daa86 feat(preferences): Add getStringLength and fix getString/getBytes docs (#12340) 2026-02-10 16:41:52 +02:00
Me No Dev
868b80a782 fix(ppp): Use proper response length for AT commands (#12336)
* fix(ppp): Use proper response length for AT commands

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-10 16:41:29 +02:00