Commit graph

3274 commits

Author SHA1 Message Date
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
Kevin Sidwar
b5c5655cf0
Support HTTP 204 (#11408)
HTTP 204 is a successful return code which indicates No Content. While it's appropriate to return a 304 if the server has content for a device but it hasn't change, it is more accurate for a server to return a 204 if it simply doesn't have any firmware files for a particular device.

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-06-04 17:39:19 +03:00
Lucas Saavedra Vaz
6f56df2a09
feat(codeowners): Initial CODEOWNERS setup (#11397)
* feat(codeowners): Initial CODEOWNERS setup

* fix(comment): Improve comment

* fix(codeowners): Add teams

* fix(codeowners): Apply suggestions

* fix(codeowners): Add missing libraries
2025-06-04 16:19:44 +03:00
Me No Dev
f3ae2a65e2
IDF release/v5.4 (#11406)
* fix(build): Update APB frequency set routine

* IDF release/v5.4 aed8bdc8
2025-05-30 15:18:57 +03:00
Me No Dev
72a582b908
feat(ssl): Do not check if client is connected if already disconnected (#11356) 2025-05-27 16:51:23 +03:00
Jan Procházka
91fd517cf1
feat(zigbee): Check the type of leave signal (#11385)
* feat(zigbee): Check the type of leave signal

* Update libraries/Zigbee/src/ZigbeeCore.cpp

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

* Update libraries/Zigbee/src/ZigbeeCore.cpp

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>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-05-27 14:33:30 +03:00
Thomas J.
31bfcb27ce
add board yb_esp32s3_drv (#11388) 2025-05-27 14:16:37 +03:00
Lucas Saavedra Vaz
fa275971cd
Update gen_esp32part.py (#11391)
* Update gen_esp32part.py

* change(tools): Push generated binaries to PR

* fix(formatting): Apply formatter

* change(tools): Push generated binaries to PR

* fix(gen_esp32part): Remove unnecessary generator

* change(tools): Push generated binaries to PR

* fix flake8 (#11393)

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-27 14:16:13 +03:00
Jacob Williams
d960f61e0a
fix(board): Alfredo-NoU3 changed default upload mode from Hardware CDC and JTAG to USB-OTG (#11403)
* fix(board): Alfredo-NoU3 changed default upload mode from Hardware CDC and JTAG to USB-OTG

* feat(board): Add Alfredo NoU2

* Revert "feat(board): Add Alfredo NoU2"

This reverts commit 35ba26acd9da17477f3ee14a1e3f63fd11df5f8d.
2025-05-27 14:15:54 +03:00
Jan Procházka
7bafc1b19b
feat(zigbee): Add AC DC ElectricalMeasurement support (#11384)
* feat(zigbee): Add AC DC ElectricalMeasurement support

* ci(pre-commit): Apply automatic fixes

* ci(): fix precommit codespell

* ci(pre-commit): Add spaces between numbers and units

---------

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-05-27 14:10:18 +03:00
Jan Procházka
6c3528ac69
feat(zigbee): Add support for Binary input EP + Analog EP extension (#11339)
* feat(zigbee): Add binary input and analog extension

* Apply suggestions from code review

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

* feat(zigbee): Remove setBinaryInputReporting

* 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>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-05-27 13:41:38 +03:00
Vlastimil Hajek
07d662a7fc
fix: crash on watchdog timeout on iddle task (#11376) 2025-05-27 13:15:41 +03:00
Jan Procházka
542274d5ea
feat(zigbee): Remove static variables, improve binding, new example (#11316)
* feat(zigbee): Remove static variables, improve binding, new example

* feat(example): Add missing header

* 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-05-27 13:13:47 +03:00
Ludovic BOUÉ
9090b46da5
feat(esp32): Zigbee power outlet example (#11296)
* feat(esp32): Zigbee power outlet example

Zigbee power outlet example

* feat(esp32): Zigbee power outlet example

Change username

* feat(esp32): Zigbee power outlet example

Remove old comment

* fix(zigbee): fix power outlet compile errors and update example

* fix(example): Update readme

* fix(example): Update ci json file

* ci(pre-commit): Apply automatic fixes

* fix(): precommit codespell

---------

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>
2025-05-27 13:13:28 +03:00
qhddz
d85b75c219
add dfrobot lorawan esp32s3 board (#11362)
* add dfrobot_lorawan_esp32s3 board

* Update pins_arduino.h

* Update pins_arduino.h

remove duplicate macro definitions

* Update pins_arduino.h

* update board.txt

* add other menu items

* delete OPI Flash

* Update pins_arduino.h

* Update pins_arduino.h
2025-05-22 18:31:31 +02:00
Jan Procházka
13cd0d3c3f
fix(rainmaker): Fix the 8MB partition scheme (#11363) 2025-05-15 11:14:58 +02:00
Me No Dev
8d5a026c98
IDF release/v5.4 (#11357)
* IDF release/v5.4 8ad0d3d8

* IDF release/v5.4 fd37cd46

* IDF release/v5.4 fe753553
2025-05-15 10:56:48 +02:00
Me No Dev
6f92b604f6
IDF release/v5.4 (#11212)
* fix(i2c): update i2c_ll_slave_init for IDF 5.4

* IDF release/v5.4 8ad0d3d8
2025-05-13 11:46:58 +02:00
Unexpected Maker
210edfeaa6
Added new Unexpected Maker SQUiXL and EDGES3[D] boards. (#11350)
* Added new Unexpected Maker SQUiXL and EDGES3[D] boards.

Signed-off-by: Seon Rozenblum <seonr@3sprockets.com>

* Seems we are being picky about board names now ;)

Signed-off-by: Seon Rozenblum <seonr@3sprockets.com>

* Seems I have to have SPI pins defined for SQUiXL, or compiling breaks

Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>

---------

Signed-off-by: Seon Rozenblum <seonr@3sprockets.com>
Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
2025-05-13 11:46:15 +02:00
Stian Coward
15e71a6afd
fix(esp32): Add missing vflip status in esp32-cam example (#11335)
Toggle switch for V-Flip will now indicate correct status in frontend when loading the webpage
2025-05-07 11:50:32 +03:00
Limor "Ladyada" Fried
158c7aec42
Add new board: Sparkle Motion Stick (#11330)
* add new version of sparklemotion

* updated change as requested

* fix

* fix clang complaints
2025-05-07 11:03:54 +03:00
Lucas Saavedra Vaz
543fad2bdf
fix(spi): Add missing initializer for ss_invert (#11320)
* fix(spi): Add missing initializer for ss_invert

* 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-04-29 10:49:23 +03:00
Lucas Saavedra Vaz
de72a03ca5
docs(mirror): Add Chinese mirror links (#11317) 2025-04-29 10:46:44 +03:00
Sugar Glider
d63b876f93
feat(uart): simplifies UART example based on MODBUS standard (#11309)
* feat(uart): simplifies UART example based on MODBUS standard

* fix(uart): fixes a uart example typo

* feat(uart): replaces UART0 by Serial0 in the code

* ci(pre-commit): Apply automatic fixes

* fix(uart): typo error message in commentary

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-29 08:58:10 +03:00
Luca Burelli
16fcdeb0be
fix(arduino): restore proper pin remapping functionality (#11315)
Commit 0773dd7619 from PR #10841 broke pin
remapping by moving its application too early in the definition process.
This commit restores the original order of includes, ensuring that pin
remapping is applied correctly.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
2025-04-29 08:57:51 +03:00
UltimumControl
b461e01e22
New SPI invert hardware SS function in hall-spi and SPI library (#11297)
* Add files via upload

* Add files via upload

* Update SPI.h

* Update esp32-hal-spi.c

renamed invert_out to ss_invert to be more intuitive

* Update esp32-hal-spi.h

Removed the out from the function name spiSSInvertout.

* Update SPI.cpp

Removed the out from the function name spiSSInvertout.

* Update cores/esp32/esp32-hal-spi.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-04-28 20:45:31 +03:00
microbots
9193c9db1e
Update boards.txt with updated CodeCell board variant (#11313)
* Update boards.txt

* Update boards.txt

* Update boards.txt

* Update boards.txt

---------

Co-authored-by: Carl Bugeja <carlb20@gmail.com>
2025-04-28 20:27:17 +03:00
Sugar Glider
8d121e075f
feat(rmt): fixes example to run correctly within IDF 5.x (#11292)
* feat(rmt): fixes exaple to run correctly within IDF 5.x

* 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-04-28 18:46:12 +03:00
Lewis He
5df9b64023
Update LilyGo T-Watch-S3-Ultra and T-LoRa-Pager variants (#11299)
* Update LilyGo variants

* Update T-Watch-S3-Ultra variants

* 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-04-28 18:45:54 +03:00
Lucas Saavedra Vaz
8ed97f6fa8
ci(release): Add package JSON with chinese mirrors (#11288)
* ci(release): Add package JSON with chinese mirrors

* fix(comment): Fix comment with proper description
2025-04-28 18:45:31 +03:00
Lucas Saavedra Vaz
5262f5ad5e
ci(idf): Use included IDF examples in CI (#11240)
* ci(idf): Use included IDF examples in CI

* fix(example): sets Matter version to be 1.3 or higher

* feat(matter): sets c++ 2a as default

* feat(matter): Update README.md

* fix(matter): instructions about using more than one sdkconfig file

---------

Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
2025-04-28 18:45:12 +03:00
Sugar Glider
571c2f74f2
feat(uart): sets correct ESP32/S2 clock source for the example (#11286)
* feat(uart): sets correct ESP32/S2 clock source for the 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>
2025-04-23 20:20:23 +03:00
Sugar Glider
51023aea79
feat(ledc): clear all fields added to ledc struct in IDF 5.4 (#11276)
* feat(ledc): clear all fields added to ledc struct in IDF 5.4

* feat(ledc): use memset for all ledc struct

* fix(ledc): typo - missing semi collon

* 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-04-23 20:20:05 +03:00
Lucas Saavedra Vaz
c110ca8295
docs(language): Enforce English on contributions and issues (#11267) 2025-04-22 11:46:59 +03:00
Lucas Saavedra Vaz
a8bead7efb
fix(gpio): Fix GPIO warning message (#11268) 2025-04-22 09:16:46 +03:00
Lucas Saavedra Vaz
e0d4d176ea
ci(pre-commit): Lock versions to SHA and apply fixes (#11248)
* ci(pre-commit): Execute codespell after formatting changes

* ci(pre-commit): Lock versions to hash

* fix(pre-commit): Apply pre-commit fixes
2025-04-22 09:16:32 +03:00
Me No Dev
f1223663dd
fix(wifi): Workaround bug in esp_wifi_get_protocol() (#11239)
* fix(wifi): Workaround bug in esp_wifi_get_protocol()

* 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-04-14 13:54:47 +03:00