* Compile error if CONFIG_FREERTOS_HZ != 1000
* add a check at the CMake level, per feedback
* Set CONFIG_FREERTOS_HZ=1000 in CI test of Arduino-as-component
somehow had duplicated the same name across all my boards. the PID's and VID's were correct, but the name was the same for all of them. that is fixed now.
* Update esptool to version 4.2.1
* Fix esptool for MacOS
* Esptool v4.2.1 for CI Platformio (#7147)
to complete the test.
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
This change enables picking the right board configuration from the
variants/ folder. Previously, we would always pick the default
configuration (e.g., "esp32" instead of "heltec_wifi_lora_32_V2").
* Added NVS test sketch + test script
* Added cfg.json with multiple fqbns
* cfg.json missing commas fix
* Changed OPI PSRAM to QSPI accordind to new HW setup.
* disabled PSRAM for ESP32S3
* Reverting PSRAM changes
* Remove Octal flash test
Octal flash needs to be tested locally before each release.
otherwise the compiler will complain about unused variable event
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
* Adds an error message to HardwareSerial::setPins()
In order to avoid problems if the user tries to setPins() before initializing the Serial port with begin()
* Get channel assigned to the pin with analogWrite
* Respect coding standard in LEDC source file
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
* Improve RGB LED Driver
Replaces the use of the `LED_BUILTIN` variable by creating a new variable called `RGB_BUILTIN`. On boards with both a regular LED and RGB LED, this change provides functionality to control either LED.
The `LED_BRIGHTNESS` variable is changed to `RGB_BRIGHTNESS`, which aligns more closely with the `RGB_BUILTIN` variable name.
`BOARD_HAS_NEOPIXEL` is no longer necessary; it is replaced by `RGB_BUILTIN`.
* Update BlinkRGB example
Update example code for changes with the RGB driver:
- Replace `LED_BUILTIN` and `BOARD_HAS_NEOPIXEL` with `RGB_BUILTIN`
- Replace `LED_BRIGHTNESS` with `RGB_BRIGHTNESS`
* Update board variants
Update board variants for changes with the RGB driver:
- Remove `BOARD_HAS_NEOPIXEL`
- Define `RGB_BUILTIN` pin
- Replace `LED_BRIGHTNESS` with `RGB_BRIGHTNESS` to align with `RGB_BUILTIN` name
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
* .github/scripts: Add multiple parameters to the build and test scripts in case a customization is required.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Get options from a JSON file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests: Add a simple test for the JSON configurations option.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests: Accept multiple FQBNs in the config file.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests/: Run multiple tests if the build contained multiple
configurations.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* ./github/scripts: Add option to erase the flash before flashing.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* .github: Fix building chunks and parameters passed from on-push.sh
script.
Multiple arguments and options were not set correctly.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Pass the Windows parameters with the extra options.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* sketch_utils.sh: Remove the individual flash options and replace them
with only one option take is supposed to take any extra FQBN addition.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* workflows/hil.yml: Install the jq program on the docker image.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests_run.sh: Fix the erase flash arguments.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* hil.yml: Fix the chunk matrix generation.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
* tests_build.sh: Add a clean option. Useful locally for a quick clean
up.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
With recent compiler update, the following warning is generated:
packages/esp32/hardware/esp32/2.0.4/libraries/LittleFS/src/LittleFS.cpp:85:5: warning: missing initializer for member 'esp_vfs_littlefs_conf_t::dont_mount' [-Wmissing-field-initializers]
This commit adds the missing identifier.
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>