-
Notifications
You must be signed in to change notification settings - Fork 37
feat(ci): Run esp-idf examples on targets #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
a1d7fe5 to
73b88d9
Compare
|
The CI workflow correctly accessed esptool.util.FatalError: '/opt/esp/idf/examples/peripherals/usb/host/usb_host_lib/build_esp32p4_default/bootloader/bootloader.bin' requires chip revision in range [v3.0 - v3.99] (this chip is revision v1.0). Use the force argument to flash anyway.Build is for esp32p4 ECO5, the runners are not ECO5. |
44dbe6c to
2821fb2
Compare
a0c721e to
8f7a8ec
Compare
d77c06b to
69a797c
Compare
| examples/peripherals/usb/device: | ||
| enable: | ||
| - if: (IDF_VERSION >= "6.0.0") | ||
| reason: Device examples have been updated to use esp_tinyusb 2.x only on esp-idf latest for now, TODO IDF-14282 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This limitation is partially removed and moved to the build_and_run_idf_examples.yml
As the esp_tinyusb 2.x support is being backported to all the releases, but not all the MR are merged. We will override the local esp_tinyusb component for:
- IDF 6.1
- IDF 6.0
- IDF 5.5
- IDF 5.3
For the rest of the releases, the device examples in esp-idf will be run with managed components.
69a797c to
95ec11b
Compare
- build and run esp-idf device and host examples
- conditional run of the workflow
95ec11b to
3303766
Compare
Description
Running esp-idf usb host and usb device examples with overridden local components on target runners.
Related
Changes
Target runners
usb_devicetarget runners inesp-usbrunesp-idfdevice examplesusb_host_flash_disktarget runners inesp-usbrunesp-idfhost examplesConditional workflow run
build_and_run_idf_examples.ymlworkflow run conditionally specified by the PR authorrelease(case-sensitive) - as we usually name the release PR asesp_tinyusb release v2.2.2for example, the workflow would run automatically on release PRstests esp-idfis present - user can add this label to trigger the runChecklist
Before submitting a Pull Request, please ensure the following: