Commit graph

3310 commits

Author SHA1 Message Date
HighDoping
bc7a549876
fix(example): led flash not working if not using default model in camera example. (#11466)
* fix(example): led flash not working if not using default model in camera example

fix(example): add camera_config.h and enable LED FLASH based on board model

fix(example): Remove face detection description as no longer supported

* fix(example): add header guard for board_config.h
2025-07-02 14:54:12 +03:00
Me No Dev
212b12b625
IDF release/v5.4 (#11517)
* IDF release/v5.4 dfa785ed

* IDF release/v5.4 72775cd6

* IDF release/v5.4 858a988d
2025-07-02 14:41:39 +03:00
Me No Dev
f4fdecc60c
fix(csrf): Fix SCRF vulnerability in OTA examples and libraries (#11530)
* fix(csrf): Fix SCRF vulnerability in WebUpdate.ino

* fix(csrf): Prevent CSRF on other OTA examples

* fix(csrf): Require auth user and pass to be changed

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-02 14:41:06 +03:00
Jason2866
8cf0818d82
make adresses for partitions.bin and boot_app0.bin configureable (#11534) 2025-07-02 14:17:00 +03:00
Me No Dev
2592a7b3bb
feat(p4): Add method to set the pins for SDIO to WiFi chip (#11513)
* feat(p4): Add method to set the pins for SDIO to WiFi chip

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-30 16:03:38 +03:00
LusimiCollado
6e60f2f6b9
feat(variant): add kode dot ESP32-S3 board with QSPI LCD, SD and GPIO … (#11371)
* feat(variant): add KodeDot ESP32-S3 board with QSPI LCD, SD and GPIO header

* fix(kodedot): Reorder board definitions and translate comments to English

* fix(kodedot): Clean up OTA override and remove unused partition menu for kode dot

* fix(kodedot): Build board changed from ESP32S3_DEV to KODE_DOT on kode dot board

* ci(pre-commit): Fix whitespace, EOLs and codespell 'Analog'

* ci(pre-commit): Add bash script formatter

* fix(merge): New name and description for custom merge tool and change partitions table to variants folder
2025-06-30 13:18:02 +03:00
Mattias Schäffersmann
6476260e8f
fix(esp32): Fix appending to Strings longer than 64k (#11523)
If oldLen is truncated to uint16_t, appending to a String
that is longer than 65535 bytes will create a broken string.
2025-06-30 13:04:11 +03:00
Lucas Saavedra Vaz
6754b1962c
feat(esp_now): Add support for ESP NOW V2 (#11524)
* feat(esp_now): Add support for ESP NOW V2

* fix(esp_now): Return -1 on error
2025-06-30 12:02:12 +03:00
Kuba Andrýsek
9a35d9455f
feat(SDFS): Add destructor for SD card to clean up resources (#11521)
* feat(test): Enhance NVS test

* fix(nvs): Remove unused Unity header and improve Serial wait loop

* refactor(nvs): Extract string increment logic into a separate function

* refactor(test): Format long strings in expect_exact calls for better readability

* feat(SDFS): Add destructor to clean up resources
2025-06-30 11:50:49 +03:00
Lucas Saavedra Vaz
875b923035
ci(ext_lib): Skip P4 in ArduinoBLE test (#11520) 2025-06-30 11:50:17 +03:00
Lucas Saavedra Vaz
21640ac82a
fix(webserver): Validate header inputs 2025-06-26 12:43:50 +03:00
Me No Dev
9e61fa7e4b
IDF release/v5.4 (#11512)
* IDF release/v5.4 f0f2980d

* fix(p4): Allow custom pins on P4 for ESP-Hosted
2025-06-24 17:23:50 +03:00
Jan Procházka
0213200b3d ci(sizes): Use commit id in report-size-delta action 2025-06-24 14:40:53 +02:00
Jan Procházka
e9b0930f9d ci(sizes): Update sizes workflow action 2025-06-24 14:34:17 +02:00
Lucas Saavedra Vaz
30fb3cbb4f
fix(docs): Fix links and versions (#11505)
* fix(docs): Fix links and versions

* fix(docs): Apply suggestions and leftover substitutions
2025-06-24 14:43:27 +03:00
Jan Procházka
b7e5169ea1
fix(spi): Update spi bus for esp32s2 (#11510) 2025-06-24 14:43:05 +03:00
me-no-dev
882ef25a36 fix(p4): Update hosted and wifi_remote components 2025-06-24 12:35:18 +03:00
Sugar Glider
bad975daa5
fix(uart): removes assert() to avoid reset (#11508) 2025-06-24 09:37:07 +03:00
Kuba Andrýsek
95ae8cf9c6
feat(test): Enhance NVS test (#11481)
* feat(test): Enhance NVS test

* fix(nvs): Remove unused Unity header and improve Serial wait loop

* refactor(nvs): Extract string increment logic into a separate function

* refactor(test): Format long strings in expect_exact calls for better readability
2025-06-23 15:02:47 +03:00
Lucas Saavedra Vaz
dc82467ba4
fix(esp_now): Fix broadcast example and use nullptr (#11490)
* fix(esp_now): Fix example and use nullptr

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-23 14:48:37 +03:00
Sugar Glider
9d84c78cf2
feat(uart): fixes pin attach for any IDF 5.x (#11499)
* feat(uart): fixes pin attach for any IDF 5.x

* fix(uart): commentary typo error

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

* fix(uart): commentary typo error

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

* fix(uart): commentary typo error

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

* fix(uart): commentary style fix

* 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>
2025-06-22 21:02:36 +03:00
Sugar Glider
01e4d5debb
feat(uart): fixes loopback function after IDF changes (#11492)
* feat(uart): fixes loopback function after IDF changes

IDF 5.4.1 has added a new function called uart_release_pin() that is called whenever new pins are set or when uart driver is deleted.

This has a side effect that causes RX pin to never work again with the loopback function. Other changes also have removed some GPIO setup that was necessary for the GPIO loopback mode work.

The PR forces a full RX Pin setup in order to make it work in GPIO Matrix with Loopback TX Signal

* feat(uart): adds missing include file

* feat(uart): removes not necessary part of the code

* fix(uart): commentaries style fix

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>
2025-06-21 15:45:26 +03:00
Sugar Glider
ccda9c5f84
feat(matter): Adds Matter Events callback plus example (#11465)
* feat(matter): Adds Matter Events callback and related example
2025-06-20 15:28:07 -03:00
Olaf
23c6abc1ac
Proper EDNS handling and cleaner NOERROR response in DNSSERVER (#11411)
* Proper EDNS handling and cleaner NOERROR response

* fix:  library.properties

reverting version number update - as it is done automatically

* ci(pre-commit): Apply automatic fixes

* Spelling Corrected  and minor clarification in comments

* Removing commented out code fragments

* ci(pre-commit): Apply automatic fixes

* fix(pr): Fix typo

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-06-20 12:52:21 +03:00
Jason2866
016077e245
changes for updated esptool.py v5 (#11488) 2025-06-20 12:25:03 +03:00
Lucas Saavedra Vaz
02be6e8826
feat(esptool): Upgrade to esptool v5 (#11487) 2025-06-20 12:23:18 +03:00
Wulu
51f1367d57
fix(docs): correct code block indentation in core_compatibility.rst (#11471)
* fix(docs): correct code block indentation in core compatibility guide

* fix(docs): remove extra colon causing rendering error in core_compatibility.rst
2025-06-20 12:22:01 +03:00
Ludovic BOUÉ
f7889116b1
feat(openthread): Add RLOC16 in otPrintNetworkInformation() (#11480)
* feat(openthread): Add RLOC16 in otPrintNetworkInformation()
2025-06-18 14:55:11 -03:00
Jan Procházka
6d4886cd1f
feat(spi): Add return values to SPI begin (#11477) 2025-06-17 16:23:35 +03:00
is-qian
4bc5ffc88d
fix: Delete 8M flash option for xiao_esp32_s3_plus. (#11476) 2025-06-17 13:39:33 +03:00
Jan Procházka
7462b09bb4
feat(LEDC): Add Gamma Fade support and enhance auto channel/timer selection for multi-group (#11464)
* feat(ledc): Enhance LEDC auto channel/timer selection for multi-group support

* feat(ledc): Add Gamma Fade support

* fix(example): Update comments

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-16 14:44:11 +03:00
Sugar Glider
ef995b6564
feat(openthread): adds native api (#11474)
* feat(openthread): adds native api

* feat(openthread): adds source code to CMakeLists.txt

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-16 13:15:54 +03:00
SooDragon
228393708d
fix: Update Pin compatability (#11473)
fix: Update Pin compatability
2025-06-16 11:12:33 +03:00
Paula Scharf
422e52684b
fix(msc): remove weak function declaration of tud_msc_is_writable_cb (#11353)
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2025-06-10 14:29:27 +03:00
whatsABetterNick
d71135e2ca
Fix(I2S example): make fix to the ESP32 I2S simple tone example (#10954)
* made some fix to the ESP32 I2S simple tone example

* edit the I2S - simple tone example

* edit the I2S - simple tone example

* some edit

* edit comment

* edit

* edit

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-10 13:27:47 +03:00
Lucas Saavedra Vaz
c21ef70a15
fix(release): Replace all assets with chinese mirrors (#11323)
* fix(release): Replace all assets with chinese mirrors

* feat(release): Add script to append "-cn" to versions

* docs(install): Add instructions for users in China
2025-06-10 13:09:27 +03:00
Jan Procházka
cbdaee6f52
feat(ledc): Improve timer management with frequency/resolution matching (#11452)
* feat(ledc): Improve timer management with frequency/resolution matching

* fix(ci): Fix uninitialized timer variable warning

* Update cores/esp32/esp32-hal-ledc.c

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

* ci(pre-commit): Apply automatic fixes

---------

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>
2025-06-10 12:57:07 +03:00
Niki Waibel
d6a76da0a5
fix(libraries/asyncudp): IPv4 ONLY listenMulticast() (#11444)
AsyncUDP::listenMulticast() properly receives packets sent to IPv4
multicast addresses like 239.1.2.3, but it is not receiving packets sent
to IPv6 multicast addresses like ff12::6ood:cafe.

The root cause is a bit hidden: listen(NULL, port) would match
AsyncUDP::listen(const ip_addr_t *addr, uint16_t port), which calls
_udp_bind(_pcb, addr, port), which uses the lwIP API to call
udp_bind(struct udp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port) at
the end. If lwIP has LWIP_IPV4 enabled, it checks if ipaddr == NULL and
sets it to IP4_ADDR_ANY. So an IPv6 address is never bound.

This fix checks the IP address passed to AsyncUDP::listenMulticast(). If
it is an IPv6 address, it constructs and passes the IPv6 any address
(::); otherwise (IPv4), it constructs and passes the IPv4 any address
(0.0.0.0).
2025-06-10 11:55:43 +03:00
Jan Procházka
0aada091e1
feat(zigbee): Support min/max setting for Analog EP (#11451)
* feat(zigbee): Support min max for Analog EP

* feat(zigbee): Use cfloat FLT_MAX

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-10 11:31:17 +03:00
Me No Dev
0007815a11
feat(p4): Add 32MB Flash Partitions to ESP32-P4 (#11453)
* feat(p4): Add 32MB Flash Partitions to ESP32-P4

* feat(p4): Add 32MB flash size option

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2025-06-10 11:00:20 +03:00
Jan Procházka
af47bd3008
fix(ci): Process only needed files in publish sizes (#11439) 2025-06-10 10:59:56 +03:00
i3water
ee347baa7d
feat(boards): update wifiduinov2&wifiduino32s3 boards setting (#11440)
* update wifiduinov2&wifiduino32s3 boards setting

* fix wifiduinov2&wifiduino32s3 build board error.

* fix wifiduinov2(esp32c3) board setting

* fix wifiduinov2(esp32c3) cdc on boot default setting.

* fix wifiduino32s3 spi pin set

* change wifiduino32s3 spi pin to spi1

* remove 32Mb flash size

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-10 10:29:46 +03:00
Jason2866
610d951f9d
include "esp_bt.h" only when existing (#11438) 2025-06-10 10:29:29 +03:00
SooD
1bac8de384
fix: Updated the tools options for Geekble Mini (#11437)
fix: Updated the tools options for Geekble Mini
2025-06-10 10:29:11 +03:00
SooD
31d22e6ed0
fix: change geekble nano board setting (#11432)
add PSRAM Setting
2025-06-04 18:49:09 +03:00
Jan Procházka
e3018b6719
feat(zigbee): Add method to set/get/report analog output (#11431)
* feat(zigbee): Add methot to set,get,report analog output

* fix(ci): Update json file for example

* fix(zigbee): Add missing keywords

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-04 17:40:52 +03:00
Jan Procházka
cae66e65a3
feat(zigbee): Add endpoint identification in read handlers + command structures fix (#11425)
* feat(zigbee): Add endpoint identification in read handlers

* fix(zigbee): initialize Zigbee command structures with zeros

* fix(zigbee): Spelling correction

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-04 17:40:28 +03:00
Jason2866
375f2c002d
C2: Disable network provisioning (#11423) 2025-06-04 17:40:12 +03:00
Jason2866
460b89201b
make BT core code execution conditional from include esp_bt.h (#11413)
* make code execution conditional from include esp_bt.h.h

* only one if

* Update esp32-hal-bt.c
2025-06-04 17:39:54 +03:00
Me No Dev
a2880a4c17
feat(ap): Add support for DHCP Captive Portal (opt 114) (#11412)
* feat(ap): Add support for DHCP Captive Portal (opt 114)

* feat(ap): No need to guard the function

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-04 17:39:34 +03:00