* feat(logging): Arduino log redirection
* fix(uart): log will only use ets_printf() for uart and cdc
* feat(uart_cdc): when CDC is logging, UART is silent
* feat(uart_cdc): when CDC is logging, UART is silent
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(board): Alfredo NoU3 include stdint.h
* fix(hal_gpio): lets pins_arduino.h to use stdint and stdbool types
* feat(pins_arduino): fixes lack of stdint in the right place
* fix(pins_arduino): reverts all changes to this file
* fix(pins_arduino): reverts all changes to this file
* fix(pins_arduino): reverts all changes back to original pr
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
* Add an option to force IDF's default UART clock source
* feat(uart): adds function to set clock source
* feat(uart): add uart clock source selection method
* feat(uart): add uart hall function to set the uart clock source
* feat(uart): add function to set the uart clock source
* feat(uart): set clock source as necessary
* fix(uart): missing class qualifier declaration
* fix(uart): fixing a typo and non LP UART SoC clk src setting
* fix(uart): variable name, typo error
* fix(uart): retores previous identation reducing diff load
* feat(uart): apply CONFIG_ARDUINO_SERIAL_FORCE_IDF_DEFAULT_CLOCK_SOURCE to LP UART
* feat(uart): adds option for UART_CLK_SRC_DEFAULT
* feat(uart): adds option for setting default uart clock source from IDF
* feat(uart): documents UART_CLK_SRC_DEFAULT as option in header file
* feat(uart): documents using the IDF default uart clock source
* fix(uart): type missmatch may cause error
* fix(uart): type missmatch may cause error, test for -1
* feat(uart): considering both HP and LP default uart clock source
* feat(uart): improve the defined value for UART_CLK_SRC_DEFAULT
* fix(uart): using uart_sclk_t as hal level parameter
* feat(uart): apply default LP uart clock source
* fix(uart): considers that it may set the LP UART as well
* feat(uart): using UART SCLK enum for uart clock source values
* fix(uart): using UART_CLK_SRC_RTC now
* fix(uart): documentation using UART_CLK_SRC_RTC now
* fix(uart): fix old commentary that is not correct anymore
* fix(uart): wrong identation in code line
* fix(uart): using uart number as argument instead
* fix(uart): using uart number as argument in setClockSource()
* fix(uart): using uart number as parameter in uartSetClockSource()
* feat(uart): update Kconfig.projbuild to reflect functionality
* feat(uart): removing Kconfig.projbuild option to force default clk src
* feat(uart): removes kconfig option to force uart default clk src
* fix(uart): replacing #if #endif by #if #elif #endif for the same enum
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(zigbeeEP): review of names and memory allocation
* fix(zigbeeEP): destructor shall free any allocated memory
* fix(zigbee_ep): forgotten var name change
* feat(zigbee_ep): use static heap memory for manufacturer and model names
* feat(zigbee_ep): changed model and manufacturer to heap
* feat(zigbee_ep): use static heap memory allocation
* fix(zigbee_ep): using stack only for adding attribute
* feat(zigbee_ep): reverting back read data type
* fix(zigbee_ep): rooling back to use malloc for remote attr reading
* feat(zigbee_ep): check malloc return for null
* fix(zigbee_ep): replace nullptr by NULL after C malloc()
* ci(pre-commit): Apply automatic fixes
* fix(zigbee_ep): fix variable scope
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(zigbee_ep): fix variable scope
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat(zigbee): Add checks on setting attrs and commands
* feat(zigbee): Add error info in the logs
* fix(zigbee): Fix memory leak, print esp_zb_zcl_status_t error, remove analogValue from analog EP
* feat(example): Update factoryResetoption in sleepy example
* fix(zigbee): Add error checks to Illuminance EP
* fix(zigbee): Return false on first error hit
* fix(zigbee): Apply same formatting on all returns
* fix(zigbee): Add check when adding a OTA cluster
* fix(zigbee): release locks before returning
* fix(zigbee): use correct return in doorWindowHandle
* fix/zigbee): Add missing return in WindowCovering
* fix(zigbee): Added a note of future task
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix: BLEAdvertising methods return error codes
Some methods returned void even if they could produce an error, in which case they failed silently. They now return the corresponding error code.
* fix: methods which could error out return bool
Changed from returning esp_error_t, in order to be more arduino compatible.
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
* fix(eth): Set the ETH properties at the correct time
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* Fix(esp32s3usbotg) stdbool dependency in pins_arduino.h
* fix(board): Remove comment in pins_arduino.h
---------
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
* Add a Default 32MB partition
This is a complementary addition to use 32MB boards in PlatformIO like the ESP32-S3-DevKitC-1-N32R8V.
* Edited Board file
Added partition "default_32MB" to the menu
* Delete tools/boards.txt
* Edited boards.txt
Added the "default_32MB" partition to the menu
* feat(boards): adds app13M_data7M_32MB to s3 octal
* fix(board): format linux new line
* fix(boards): trying to make it \n and not \r\n
* add change to esp32s3-octal board too
This reverts commit 3afddfc2ce5281d8cd0344bc91665665d4179040, reversing
changes made to a9f64003bad5a2dcc1bd7f66e8494c9f8c8dd2e2.
* fix(boards): setting eol as /n
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(rmt): Fixed protocol name in RMTReadXJT examples
I couldn't find a protocol called D12.
I found LR12 so I'll fix that.
* feat(RMT): changing example commentary to reflect D16 protocol
---------
Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
* feat(wifi): Add support for 2.4GHz and 5GHz band switching
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>