Commit graph

3150 commits

Author SHA1 Message Date
Jan Procházka
eec2af3d35
feat(zigbee): Add range extender device endpoint (#10970)
* feat(zigbee): Add range extender device endpoint

* ci(pre-commit): Apply automatic fixes

* fix(example): Fix typo catched by precommit

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-02-19 23:31:37 +02:00
Rodrigo Garcia
5afafdf4c6
fix(matter): commentaries and messages related to factory reset (#10988)
* fix(matter): commentaries and messages related to the factory reset

* fix(matter): commentaries and messages typo
2025-02-19 23:31:08 +02:00
Rodrigo Garcia
646785e086
feat(LP_UART): Implements the ESP32-C6/ESP32-P4 Low Power UART as a possible HardwareSerial port (#10967)
* feat(uart): adds low power uart peripheral into hardware serial class

* feat(lp_uart): pin setting for lp uart plus esp32p4 fixes

* fix(uart): keeps the test as it was before.

* fix(uart): updates the copyright year reference

* fix(uart): updates the copyright year reference

* feat(lp_uart): supports any number of lp uart port for the future

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-02-19 01:01:18 +02:00
me-no-dev
55f4f1bfa8 Update core version to 3.2.0 2025-02-18 19:10:54 +02:00
Me No Dev
8e9f7c31c9
IDF release/v5.4 e37d33cc (#10980) 2025-02-18 17:00:36 +02:00
Me No Dev
783271b6b5
Merge pull request #10890 from P-R-O-C-H-Y/libs/update-zigbee-1.6.2
fix(zigbee): Update esp-zigbee-sdk to 1.6.3 + necessary fixes
2025-02-18 14:01:16 +02:00
Me No Dev
35feed5077
Merge pull request #10832 from espressif/release/v3.2.x
Arduino 3.2.0 based on ESP-IDF v5.4
2025-02-18 11:54:51 +02:00
Me No Dev
f0cf3b1af6 feat(i2c): Add support for the new I2C driver in IDF v5.4 (#10858)
* feat(i2c): Add support for the new I2C driver in IDF v5.4

* fix(build): Add the new driver to CMakeLists.txt

* fix(i2c): Guard sleep retention

Not all chips can restore I2C bus after light sleep

* 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-02-18 10:11:55 +02:00
Me No Dev
18cbd762c9 feat(eth): Add support for generic IEEE 802.3 driver (#10859) 2025-02-18 10:11:55 +02:00
me-no-dev
50d85a6e9d fix(ci): Run CI against ESP-IDF v5.4 2025-02-18 10:11:55 +02:00
Me No Dev
47343a43f7 feat(idf): Add support for IDF v5.4 (#10823) 2025-02-18 10:11:55 +02:00
me-no-dev
dbfde15b6a Update core version to 3.1.3 2025-02-17 15:28:32 +02:00
TD-er
758cbd097d
Fix crash in String when using nullptr (#10971) (#10972)
Fixes: #10971
2025-02-17 15:27:41 +02:00
Jan Procházka
20e5e706be fix(boards): Delete removed Zigbee RCP mode 2025-02-17 09:47:29 +01:00
Jan Procházka
a4ecdb1a0f feat(zigbee): Bump esp-zigbee-sdk to 1.6.3 2025-02-14 18:32:14 +01:00
Me No Dev
a7907cd07e
Add the latest versions to issue report template 2025-02-14 16:57:23 +02:00
me-no-dev
62082398d3 Update core version to 3.1.2 2025-02-13 14:32:20 +02:00
TD-er
5488d5d23f
Fix crash when using String::move on empty string (#10938) (#10945)
Fixes: #10938
Keep allocated memory when rhs fits

Use case: Appending to a String with pre-allocated memory (e.g. from `reserve()`)
No need to move 0-termination char in String::move
Simplify calls to String::copy

A lot of the same checks were done before calling `copy()` which should be done in the `copy()` function itself.
String::copy() Should not copy more than given length
Fix potential out of range in String::concat

There is no prerequisite the given array has to be a 0-terminated char array.
So we should only copy the length that has been given.

The `setLen()` function will make sure the internal string is 0-terminated.
So no need to dangerously assume there will be 1 more byte to copy
Allow String::concat(const String &s) with s.buffer() == nullptr

When constructing a String object, the internal buffer is a nullptr.
However concatenating this to another String would return `false` while this is perfectly fine to do.
2025-02-13 14:14:05 +02:00
vortigont
6fb55a7f68
feat(board): Update 3rd party board Huidu HD-WF2/HD-WF4 (#10957)
* feat(board): Update 3rd party board Huidu HD-WF2/HD-WF4

Followup #10779

 - fixed flash mode to 'dio'
 - removed psram flags
 - corrected gpio mapping defines

* 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-02-13 14:03:21 +02:00
Jan Procházka
fb6b788b30
feat(zigbee): Support HSV color commands for RGB light endpoint (#10959)
* feat(zigbee): Support HSV color commands

* ci(pre-commit): Apply automatic fixes

* feat(zigbee): Add hue and sat attributes and update color capabilities

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-02-13 13:34:30 +02:00
Me No Dev
606a4049a2
IDF release/v5.3 (#10873)
* IDF release/v5.3 adf53196

* IDF release/v5.3 fb25eb02

* IDF release/v5.3 fb25eb02

* IDF release/v5.3 fb25eb02

* IDF release/v5.3 fb25eb02

* IDF release/v5.3 489d7a2b
2025-02-13 13:16:30 +02:00
Jan Procházka
7f8c77f9ee
feat(zigbee): Add vibration sensor endpoint (#10944) 2025-02-13 13:03:02 +02:00
Jan Procházka
83abca1604
feat(zigbee): Add OTA client cluster support (#10946)
* feat(zigbee): Add OTA client cluster support

* feat(zigbee): Add conditions to reject OTA upgrade

* feat(zigbee): Add newest version of OTA handler

* fix(zigbee): Fix errors and warnings, swap parameters order

* feat(zigbee): Add simple OTA Client 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-02-13 13:02:35 +02:00
dependabot[bot]
6c3a49cac7
build(deps): bump cryptography from 43.0.1 to 44.0.1 in /tests (#10961)
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-13 13:01:13 +02:00
Me No Dev
7b651b64d6
feat(cdc): Add support for two CDC ports at once (#10962)
* feat(cdc): Add support for two CDC ports at once

* 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-02-13 12:51:28 +02:00
Me No Dev
250c1abf78
fix(i2s): Add missing initializer for I2S CLK config (#10963)
* fix(i2s): Add missing initializer for I2S CLK config

* 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-02-12 10:40:15 +02:00
Jan Procházka
5ba4c21a99
fix(zigbee): Add default destructor and fix initialization of tm struct (#10943) 2025-02-06 17:06:07 +02:00
Me No Dev
6fcaf69097
fix(wifi): Make sure that esp-hosted events are propagated (#10939) 2025-02-06 11:19:27 +02:00
Henning Kulander
db0bbad934
Created Zigbee Endpoint for Window Covering. (#10914)
* feat(zigbee): Added Endpoint for Window Covering (#10913)

* Added example Sketch.

* Added window covering to CMakeLists.txt.

* feat(zigbee): Window covering tilt support and fixes

* fix(zigbee): Fix typos

* ci(pre-commit): Apply automatic fixes

* fix(ci): Fixes of typos

---------

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-02-04 17:52:02 +02:00
Me No Dev
6a1127625c
fix(ota): Make sure that ArduinoOTA.end() is called in the destructor (#10932) 2025-02-04 13:22:20 +02:00
Me No Dev
8b31d1e1a8
fix(ci): Disable some RainMaker examples on ESP32 (#10931) 2025-02-04 12:53:29 +02:00
thekurtovic
b385562fa6
NetworkEvents allow stack size to be changed. (#10805)
* feat(net): Allow for event task custom stack size

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-02-04 11:52:45 +02:00
Jan Procházka
6eb99d3ae3
feat(zigbee): Add IAS Zone endpoints (Contact Switch + Door/Window Handle) (#10918)
* feat(zigbee): Add IAS Zone endpoints

* ci(pre-commit): Apply automatic fixes

* fix(ci): Typo fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-02-04 11:25:11 +02:00
Akashdeep Deb
2040cbad51
Update README.md to add ESP-SR (#10925)
Adding ESP-SR to the documentation

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-02-04 11:24:49 +02:00
Rodrigo Garcia
1c01fcd196
fix(uart): fixed esp32s2 uart ci test case (#10926)
Wrong pins were used for baud rate detection test case, therefore no data was reaching UART1 RX FIFO from UART0 TX loopback.
2025-02-04 11:04:58 +02:00
Sayed (Tashfi) Nowroz
0302b4db47
fix(logging): incorrect FPS logging (#10921)
* fix(logging): Corrected FPS calculation

Previously, last_frame was only updated once at the beginning of stream_handler,
leading to incorrect FPS and avg_frame_time computation.

This commit ensures last_frame is updated on each iteration after last FPS computation,
resulting in accurate FPS logging.

Fixes #10920

* Revert "fix(logging): Corrected FPS calculation"

This reverts commit 0bb7b9555e7661c72dc3376cf8a001c6fd3758c8.

* fix(loggin): Incorrect FPS computation fixed

Corrected and tested change in FPS computation, suggested by @me-no-dev and found working with correct numbers.

Previously, last_frame was only updated once at the beginning of stream_handler,
leading to incorrect FPS and avg_frame_time computation.

This commit ensures last_frame is updated on each iteration after last FPS computation,
resulting in accurate FPS logging.

Fixes #10920
2025-01-31 23:25:45 +02:00
Jack Lin
f22866f888
Update HTTPS certificate in BasicHttpsClient.ino (#10911)
The certificate is outdated. The current certificate can be found using `openssl s_client -showcerts -connect jigsaw.w3.org:443`
2025-01-30 19:14:08 +02:00
TD-er
402ab56bf1
fix(SPIFFS): Use new disableWDT bool return value (#10909)
Analogue to this PR, but for SPIFFS: https://github.com/espressif/arduino-esp32/pull/10896/files
2025-01-30 19:12:07 +02:00
Jan Procházka
732a7cb4ee
feat(zigbee): Add Time cluster support + fix of duplicate indentify cluster (#10863)
* feat(zigbee): Add Time cluster support

* fix(zigbee): Remove duplicate of identify cluster

* feat(zigbee): Remove unused variables in addTimeCluster

* feat(zigbee): Update examples with optional Time cluster

* 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-01-30 19:11:40 +02:00
lbernstone
2fecc482b7
fix(littlefs): Converted core disableWDT functions to bool (#10896)
* fix(littlefs): Converted core disableWDT functions to bool

* Missed the returns on core1

* 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-01-27 12:39:15 +02:00
lsroka76
15cbb1e857
Add IAS Zone Notification Message service to ZigbeeHandlers and ZigbeeEP.h (#10821)
* Update ZigbeeHandlers.cpp

* Update ZigbeeEP.h

* Update ZigbeeEP.h

make addBoundDevice virtual for override

* fix(zigbee): Update and reorder handlers

* fix(zigbee): Place default handler to the end

* 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>
2025-01-27 12:38:50 +02:00
Jan Procházka
7089c0a188 fix(zigbee): Update esp-zigbee-sdk to 1.6.2 + necessary changes 2025-01-22 13:34:39 +01:00
is-qian
496b841177
feat(esp32): Added a new device(xiao esp32s3 plus) (#10768)
* feat(esp32): Added a new device(xiao esp32s3 plus)

* Update boards.txt

* Apply suggestions from code review

* Fix filename error.

* Fix filename error.

* 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>
2025-01-21 13:24:00 +02:00
Jan Procházka
2a2b81ad6f
feat(zigbee): Add 2MB + 8MB partitions (#10864) 2025-01-15 16:35:27 +02:00
Lucas Saavedra Vaz
01d9726609
docs(discord): Replace Gitter links with Discord (#10852)
* docs(discord): Replace Gitter links with Discord

* docs(links): Add Developer Portal link
2025-01-15 01:46:31 +02:00
Lucas Saavedra Vaz
fcce93a029
fix(example): Fix partition for PathArgServer 2025-01-13 19:14:41 -03:00
Rodrigo Garcia
0773dd7619
Bugfix/include order (#10841)
* fix(arduino): include order pins_arduino first

* fix(arduino): include order pins_arduino first

* fix(arduino): include order pins_arduino first
2025-01-13 12:40:14 +02:00
Rodrigo Garcia
4c36c89768
fix(matter): serial print instead of log_i (#10842)
* fix(matter): serial print instead of log_i

* fix(example): adds a white space to the message
2025-01-13 12:36:03 +02:00
Jan Procházka
a81e2d48f5
fix(i2s): Check if pin is used before clearing bus (#10833)
* fix(i2s): Check if pin is used before clearing bus

* 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-01-10 14:05:16 +02:00
Jan Procházka
814371726d
fix(zigbee): Fixes in handlers, destructors and co2 sensor delta reporting (#10834)
* fix(zigbee): Fix co2 sensor delta in reporting

* fix(zigbee): Declare default empty destructors

* fix(zigbee): Return on error in zigbee handlers
2025-01-10 14:04:39 +02:00