* 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
* fix(uart): ci uart test fail on esp32s2 after uart break
* fix(uart): ci error with change pins test on ESP32
* fix(uart): ci test with perimgr using esp32 fails
* feat(uart): avoid electrical noise before setting pins
* fix(uart_ci): fixes the UART CI sketch due to IDF 5.3 pull up change
* fix(uart_ci): keeping previous formatting and applying changes
* feat(uart_ci): trick for passing esp32 wokwi ci test
Wokwi ESP32 fails with the pinMode() in line 56|58
Real device with Arduino Core 3.1.2 and 3.2 needs it to fix the issue.
This patch will skip the pinMode() when compiling with Wokwi and make it pass the CI test case.
* feat(uart_ci): reverting the wokwi patch, once it didn't make any difference
* fix(wokwi): Change CPU freq to 80
* fix(wokwi): Change CPU freq to 120
* ci(pre-commit): Apply automatic fixes
* fix(uart_ci): fixes a couple typos in commentatries
---------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
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>
* test(i2c): Do not use delta as Wokwi timing can be inconsistent
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* 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>
* 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>
* feat(uart): allow pins_arduino.h to define esp32-p4 uart pins
ESP32-P4 has UART default pins only for UART0 and UART1.
This PR allows the board definition from pins_arduino.h to define RX2 ... RX4 and TX2 ... TX4 if necessary.
It also solves the issue of begin(baud) with no pins for UART2...4 by just sending a error message and returning.
* feat(uart): removes the uart2 pin definitions - not existant
* fix(uart): solves the case when uart has already been initialized
* ci(pre-commit): Apply automatic fixes
* fix(ci): uart definition for esp32-p4 uart2 rx,tx pins
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(tests): Add missing newlines to output
* fix(tests): Improve fibonacci test
* fix(tests): Remove redundant targets from json
* fix(wokwi): Checkout proper base branch for wokwi tests
* feat(logging): Add logging to some tests to improve debugging
* fix(ci): Make CI more permissive and improve messages
* fix(tests): Bump pytest-embedded version to support P4
* feat(touch): Support NG touch driver for P4
* fix(ci): Touch test + IDF compilation fixes
* fix(ci): remove debug prints from touch test
* fix(ci): Fix touch test for esp32
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* ci(json): Add support for checking sdkconfig before running tests
* docs(ci): Add explanation about requires field in JSON
* fix(json): Ignore comments when searching requirements
* feat(json): Add extended regex support to requires field
* change(json): Move to using requirements in JSON
* fix(json): Fix requirements for touch tests
* refactor(json): Fix formatting of JSON files
* fix(spi): Fix SPI example and JSON
* fix(esp32p4): Add missing touchpad definitions
* fix(esp32p4): Add missing target in SPI example
* fix(esp32p4): Start touch driver fix
* fix(esp32p4): Skip touch examples while it is not implemented
* fix(esp32p4): Add missing analog pin definitions
* refactor(formatting): Fix formatting that was broken in P4 PR
* fix(openthread): Add missing targets to skip
* fix(esp32p4): Skip ethernet sketches
* fix(esp32p4): Disable periman test while touch is not implemented
* fix(esp32p4): Disable touch test while touch is not implemented
* fix(esp32p4): Fix UART test
* fix(esp32p4): Skip Wi-Fi test
* fix(esp32): Skip unsupported example
* fix(esp32p4): Fix skip files
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* ci(wokwi): Pass diagram.json file if exists to pytest
* ci(wokwi): Rename diagrams to enable editing in Wokwi editor
* ci(tests): Use newest pytest version
---------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* ci(fix): Fix new workflows
* ci(pre-commit): Properly cache python modules
* fix(get.py): Verify files after extraction and make it more readable
* ci(idf): Compile as component when libs change
* ci(wokwi): Re-enable cache for wokwi tests
* ci(tests): Run scripts only from master
* Revert "fix(get.py): Verify files after extraction and make it more readable"
This reverts commit cc40edb40766ea8a013c0d76326bc57314418bff.
* ci(compilation): Fix changed files check
* ci(wokwi): Disable tests that use scenarios
* ci(wokwi): Add wokwi emulator to CI
* feat(wokwi): Support scenario
* feat(wokwi): Add simple CI test for push button
* sudo apt command
* sudo both apt commands
* Add missing test.py file
* Test pytest path changes
* empty push
* move wokwi cli token variable
* move token back to wokwi job
* Update hil.yml
* Update hil.yml
* revert run on pr
* run on PR target
* run only on master
* ci(wokwi): Support wokwi
* ci(wokwi): Skip unsupported and performance test
* ci(wokwi): run wokwi tests without label
* debug: run build on windows
* RUN WIFI WITH PSRAM ON-OFF
* fix psram for S3
* Revert "debug: run build on windows"
This reverts commit bc085e50502eb470836276097fa45ee0e2374ed1.
* ci(wokwi): Run workflow only if build was sucessful
* ci(pre-commit): Apply automatic fixes
* ci(wokwi): Add generated files to gitignore
---------
Co-authored-by: Jan Prochazka <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>