Commit graph

2952 commits

Author SHA1 Message Date
Lucas Saavedra Vaz
cd772f1437
ci(pre-commit): Add bash script formatter and linter (#10681)
* ci(pre-commit): Add check for bash scripts

* fix(formatting): Fix bash scripts

* docs(pre-commit): Add info about the included hooks
2024-12-09 15:25:11 +02:00
github-actions[bot]
7a0775d697 change(tools): Push generated binaries to PR 2024-12-09 13:02:28 +00:00
Rodrigo Garcia
7a82b8be83
feat(Matter): Creates New Matter Fan Controller Endpoint (#10691)
* feat(matter): creates new matter fan controller endpoint
2024-12-09 10:01:24 -03:00
Lucas Saavedra Vaz
76d1f9e643
ci(pre-commit): Bump hooks versions and fix leftover files (#10680)
* update(hooks): Bump pre-commit hooks versions

* fix(formatting): Fix python script formatting

* fix(formatting): Fix leftover files on protected folders
2024-12-09 15:00:41 +02:00
Jan Procházka
92dd841ffc
feat(Zigbee): Recall bounded devices after reboot + IEEE address option for commands (#10676)
* feat(zigbee): Recall bound devices after reboot

* fix(zigbee): Add missing locks + allow printBoundDevices to Serial

* fix(Zigbee): Add locks to temp sensor setReporting

* fix(Zigbee): remove unnecessary space in formatting

* fix(Zigbee): proper parameter in printBoundDevices

* feat(Zigbee): factory reset when removed from network

* fix(zigbee): Update comment

* fix(zigbee): fix serial and add missing factoryReset to 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>
2024-12-09 14:30:15 +02:00
Lucas Saavedra Vaz
e159bf6e46
refactor(uart): Refactor UART test to work with any number of UARTs (#10593)
* refactor(uart): Refactor UART test to work with any number of UARTs

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>

* fix(uart): Set CPU freq on ESP32

* ci(pre-commit): Apply automatic fixes

* fix(spelling): Fix codespell error

---------

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>
2024-12-09 11:27:56 +02:00
Rodrigo Garcia
af84da6f6a
feat(matter): Adds a new Matter Endpoint: Generic Switch (smart button) (#10662)
* feat(matter): adds new matter generic switch endpoint

* fix(matter): no need of arduino preferences here

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-12-03 08:08:51 +02:00
Rodrigo Garcia
9d8df8b315
feat(matter): Adds Matter Enhanced Color Light Endpoint (CW/WW/RGB) (#10657)
* feat(matter): created enhanced color light new matter endpoint and example
2024-12-02 19:26:13 -03:00
Rodrigo Garcia
c2ce738cae
feat(matter): New example => Wifi Prov within Matter as alternative for wireless network provisioning (#10658)
* feat(matter): Arduino WiFi Prov example for Matter
2024-12-02 19:13:17 -03:00
Me No Dev
9f5f95e50a
Merge branch 'master' into release/v3.1.x 2024-11-28 21:01:21 +02:00
Rodrigo Garcia
414e4f3233
feat(Matter): add new MatterColorLight endpoint (#10654)
* feat(matter): adds Matter Color Light endpoint
2024-11-26 17:14:38 -03:00
Dogus Cendek
98da424de6
Add our new development board "cezerio mini dev ESP32C6" (#10648) 2024-11-26 14:46:22 +02:00
Jan Procházka
0f3191e34f
fix(zigbee): Increase timeout, commision again on failure + setScanDuration (#10651)
* fix(zigbee): Increase timeout, commision again on failure
* fix(zigbee): Update library keywords
2024-11-25 17:39:59 -03:00
Rodrigo Garcia
0bcdd2c65f
Merge branch 'master' into release/v3.1.x 2024-11-25 12:18:11 -03:00
Rodrigo Garcia
4fc8abfafe
AsyncUdp license and keyword update (#10637)
* feat(asyncudp): add all current keywords to the list

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): add license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* feat(asyncudp): revert license information to the source code

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-25 14:04:20 +02:00
Jason2866
eb1933fde9
Guard crypto parts in "Update" to save resources (#10630)
* guard crypt update

* guard update crypt

* Update Updater.cpp

* revert logic to disable

* change disable logic

* formatting

* formatting

* remove trailing space
2024-11-25 13:15:51 +02:00
Jan Procházka
1730e4e57e
fix(zigbee): Add connected(), minor fixes, example update (#10636)
* fix(zigbee): Add connected and minor fixes, example update

* fix(example): Use correct API call for connected

* fix(zigbee): Increase timeout and add semaphore to begin

* feat(zigbee): Add option to select debug libs for zigbee

* fix(example): fix warning by double percentage symbol

* fix(example): Fix serial prints for Windows os

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>

* ci(pre-commit): Apply automatic fixes

* fix(example): Fix precommit spelling

---------

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>
2024-11-25 13:13:28 +02:00
Rodrigo Garcia
9417a84918
feat(uart): [IDF 5.3] fixes HardwareSerial::updateBaudRate() using a baud rate higher 230400 - checks UART Clock Source (#10643)
* fix(uart): fixes issue with update baudrate higher than 250000

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-25 13:13:01 +02:00
Lucas Saavedra Vaz
1712fb5eee
fix(network): Avoid returning zero if connection is not dropped (#10640)
Co-authored-by: NPaolini <75562717+NPaolini@users.noreply.github.com>
2024-11-25 12:17:38 +02:00
Jason2866
6e57662599
fix compile of P4 caused from missing ")" in debug macro (#10638) 2024-11-25 11:49:24 +02:00
Rodrigo Garcia
962ab3acea
Adds a Minimum Code Matter Example (#10639)
* feat(matter): add a new example for a minimum matter device
---------
2024-11-24 19:09:46 -03:00
Rodrigo Garcia
3dd4b0d112
feat(openthread): add license declaration to all soure code and examples (#10631) 2024-11-22 11:57:08 -03:00
Rodrigo Garcia
6bc3ce68fe
feat(matter): New Matter Endpoint (#10628)
* feat(matter): add new endpoint - color temperature light

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-20 17:02:34 -03:00
Lucas Saavedra Vaz
ff613b3f29
ci(uart): Disable UART test for P4 until it is fixed in Wokwi 2024-11-20 10:10:39 -03:00
Me No Dev
66f7c93db4
Merge branch 'master' into release/v3.1.x 2024-11-20 10:52:06 +02:00
Jan Procházka
268b31c3f6
feat(zigbee): Add setLight APIs to manually operate lights (#10626)
* feat(zigbee): Add setLight APIs to manually operate lights

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-20 10:51:47 +02:00
Rodrigo Garcia
f0ded24b3f
OTA Library adjust (#10627)
* feat(ota): library revision

* feat(ota): license

* feat(ota): license addtion

* feat(ota): license addition into example
2024-11-20 10:47:46 +02:00
Jan Procházka
442679d225
fix(Zigbee): Add missing direction to report commands (#10623)
* fix(Zigbee): Add missing direction to report 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>
2024-11-20 10:47:27 +02:00
Jason2866
d7b5bb111e
Guard WPA Enterprise support (#10616)
* Guard WPA Enterprise support

* guard `WIFI_ENTERPRISE_SUPPORT`

* wrong part guarded

* fix guard start and end

* add guard enterprise
2024-11-20 10:42:43 +02:00
Jason2866
f5ce3f7675
Guard ethernet parts to make it possible to use without (#10609)
* Update ETH.cpp

* Update ETH.h

* Update WiFiGeneric.h

* Update NetworkEvents.h

* remove unnecessary include "sdkconfig.h"

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-19 12:19:02 +02:00
Rodrigo Garcia
2b6b5c74ce
feat(uart): adds Serial4 as a keyword - used by ESP32-P4 (#10619)
* feat(uart): adds Serial4 as a keyword - used by ESP32-P4

* fix(keywords): added 2 new lines to keep consistancy
2024-11-19 12:18:43 +02:00
Rodrigo Garcia
fe0f016b4f
Matter example patch (#10618)
* feat(matter): adjust preferences labels in matter examples

* feat(matter): adjust preferences labels in matter examples

* fix(matter_example): extra blank space in code added by mistake

* feat(matter_example): use const char * instead of #define

* feat(matter_example): use const char * instead of #define

* feat(matter_example): change Preferences names

* fix(matter_example): missing semicolon in code
2024-11-19 12:18:23 +02:00
Jason2866
4a8ba4294e
fix weird formatting, no code change (#10617)
* fix formatting

* Disable formatter for these lines

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-11-19 12:18:06 +02:00
Me No Dev
3a5dbf241e
Merge branch 'master' into release/v3.1.x 2024-11-19 12:14:57 +02:00
Unexpected Maker
1cdd8e8ce0
Fixed incorrect Flash size for UM FeatherS3 Neo build flash size (#10614)
Signed-off-by: Seon Rozenblum <seon@unexpectedmaker.com>
2024-11-18 14:43:28 +02:00
Mikey Sklar
02b03286a2
Feather V2 and Qt PY Pico PartitionScheme (#10604)
Default stays the same, additional option for larger SPIFFS area. Using existing partition CSV.

Tested on Feather V2
Arduino 2.3.3
ESP32 BSP 3.0.7
2024-11-18 09:44:22 +02:00
Cellie
9c25cef93f
Update pins_arduino.h (#10610)
The correct pin is GPIO4.
2024-11-18 09:43:31 +02:00
Lucas Saavedra Vaz
e9b3f2650e
ci(pytest): Bump pytest-embedded to 1.12.0 for P4 fixes 2024-11-14 12:20:18 -03:00
Me No Dev
3822a68820
IDF release/v5.3 (#10599)
* fix(zigbee): Bump zigbee version and use 1.6.0 (#10563)

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>

* fix(zigbee): Add require public for zigbee libs

* fix(zigbee): Guard the Zigbee library

* fix(zigbee): Fix removed cluster_role attribute (#10576)

* fix(hosted): Update hosted configuration

* fix(hosted): Fix Hosted deinit and protect reinit for now

* IDF release/v5.3 a0f798cf

* IDF release/v5.3 a0f798cf

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-11-13 12:33:02 +02:00
Me No Dev
cc407185a3
fix(build): Allow Arduino to compile in IDF without components (#10597)
* fix(build): Allow Arduino to compile in IDF without components

This adds guards for the rest of the extra components

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-12 17:23:51 +02:00
Me No Dev
f8d9ffb74a
fix(net): Allow to compile without IPv6 enabled (#10582)
* fix(net): Allow to compile without IPv6 enabled

cc: @Jason2866

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-12 11:29:52 +02:00
Me No Dev
d561685258
Merge branch 'master' into release/v3.1.x 2024-11-12 10:24:28 +02:00
Rodrigo Garcia
e99f1fdc6d
fix(wifi): fixes isconnected() to return true when it has ip addr (#10595) 2024-11-12 01:00:26 +02:00
Rodrigo Garcia
54a7a3ee9a
feat(usb_hid_keyboard): Adds Keyboard Layout and Sends reports just for Modifier Keys (#10591)
* feat(usb_kb): add keyboard layouts. new pt_br layout

* feat(usb_kb): add kb layout and fixes modifier key press

* feat(usb_kb): update cmakelists.txt to add new kb layout code

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-12 00:56:06 +02:00
Jerzy Stusiński
1a8e53fe47
fix(typo): Fix typo in CDC DFU flash tutorial (#10584)
* Update cdc_dfu_flash.rst

* Update docs/en/tutorials/cdc_dfu_flash.rst

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>

* Update docs/en/tutorials/cdc_dfu_flash.rst

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

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-11-11 15:22:32 +02:00
Lucas Saavedra Vaz
09a6770320
fix(tests): Fix wrong selection of tests and add debug flag for testing (#10583)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2024-11-08 11:17:55 +02:00
Ludovic BOUÉ
f66ba37d1f
fix(Zigbee): Fix typo in Zigbee_Temp_Hum_Sensor_Sleepy.ino (#10581) 2024-11-08 11:10:54 +02:00
Lucas Saavedra Vaz
1ecbbae7d3
fix(wifi): Guard missing sketches for hosted Wi-Fi 2024-11-06 21:25:38 -03:00
Lucas Saavedra Vaz
32e2230de2
fix(wifi): Fix requirements and guards for hosted Wi-Fi (#10579)
* fix(wifi): Fix requirements and guards for hosted Wi-Fi

* 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: Me No Dev <me-no-dev@users.noreply.github.com>
2024-11-07 00:31:29 +02:00
me-no-dev
c0092206a6 fix(wifi): Fix WiFiMulti on ESP32-P4 2024-11-06 18:29:57 +02:00