File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2121 IDF_COMP_MAN_VER : " 2.4.3"
2222 IDF_BUILD_APPS_VER : " 2.13.1"
2323 ESP_USB_PATH : esp-usb
24+ ESP_USB_CONFIG_FILE : esp-usb/.idf_build_apps.toml
2425 ESP_USB_MANIFEST : esp-usb/.build-test-rules.yml
2526 ESP_TINYUSB_TEST_APPS : esp-usb/device/esp_tinyusb/test_apps
2627 steps :
3940 export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes"
4041 export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}"
4142 python .github/ci/override_managed_component.py tinyusb . ${{ env.ESP_TINYUSB_TEST_APPS }}/*/
42- idf-build-apps find --paths ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target all --manifest-files ${{ env.ESP_USB_MANIFEST }} --manifest-rootpath ${{ env.ESP_USB_PATH }} --build-dir "build_@t_@w"
43+ idf-build-apps find --config-file ${{ env.ESP_USB_CONFIG_FILE}} -p ${{ env. ESP_TINYUSB_TEST_APPS }} --recursive -t all --manifest-files ${{ env.ESP_USB_MANIFEST }} --manifest-rootpath ${{ env.ESP_USB_PATH }} --build-dir "build_@t_@w"
4344# idf-build-apps build --paths ${{ env.ESP_TINYUSB_TEST_APPS }}/ --recursive --target all --manifest-files ${{ env.ESP_USB_MANIFEST }} --manifest-rootpath ${{ env.ESP_USB_PATH }} --build-dir "build_@t_@w"
4445 - uses : actions/upload-artifact@v4
4546 with :
Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ jobs:
2727 shell : bash
2828 run : |
2929 . ${IDF_PATH}/export.sh
30+ # Hint: To build network example we use default config and network build rules provided by IDF
31+ export CONFIG_PATH="${IDF_PATH}/.idf_build_apps.toml"
3032 export EXAMPLES_PATH="${IDF_PATH}/examples/network/sta2eth"
3133 export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
3234 python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}
33- idf-build-apps find --paths ${EXAMPLES_PATH}/ --target esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
35+ idf-build-apps find --config-file ${CONFIG_PATH} -p ${ EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
3436# idf-build-apps build --paths ${EXAMPLES_PATH}/ --target esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
3537 - name : Build USB Device examples
3638 shell : bash
You can’t perform that action at this time.
0 commit comments