Skip to content

Commit a552502

Browse files
committed
remove recursive from cli for esp-usb, added config for idf
1 parent 35af0f7 commit a552502

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/ci/.build_and_run_idf_examples_config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exclude = [
99
]
1010

1111
recursive = true
12+
manifest_file = "examples/peripherals/.build-test-rules.yml"
1213
check_warnings = true
1314
target = "all"
1415

.github/workflows/build_and_run_esp_usb_test_apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
export EXTRA_CFLAGS="${PEDANTIC_FLAGS} -Wstrict-prototypes"
4141
export EXTRA_CXXFLAGS="${PEDANTIC_FLAGS}"
4242
python .github/ci/override_managed_component.py tinyusb . ${{ env.ESP_TINYUSB_TEST_APPS }}/*/
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 }}
43+
idf-build-apps find --config-file ${{ env.ESP_USB_CONFIG_FILE}} -p ${{ env.ESP_TINYUSB_TEST_APPS }} -t all --manifest-rootpath ${{ env.ESP_USB_PATH }}
4444
# 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 }}
4545
- uses: actions/upload-artifact@v4
4646
with:

.github/workflows/build_and_run_idf_examples.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ jobs:
3737
shell: bash
3838
run: |
3939
. ${IDF_PATH}/export.sh
40-
export MANIFEST_FILE="${IDF_PATH}/examples/peripherals/.build-test-rules.yml"
40+
export MANIFEST_FILE="${IDF_PATH}/"
4141
python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
42-
idf-build-apps find -p ${IDF_PATH}/examples/peripherals/usb/device/tusb_* -t all --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
43-
# idf-build-apps find --config-file ${CONFIG_PATH} --manifest-files ${MANIFEST_FILE}
44-
# idf-build-apps build --config-file ${CONFIG_PATH} --manifest-files ${MANIFEST_FILE}
42+
idf-build-apps find --config-file ${CONFIG_PATH} --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
43+
44+
# idf-build-apps find -p ${IDF_PATH}/examples/peripherals/usb/device/tusb_* -t all --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
45+
# idf-build-apps build --config-file ${CONFIG_PATH} --manifest-files ${MANIFEST_FILE}
4546
- uses: actions/upload-artifact@v4
4647
with:
4748
# We upload only the USB Device example binaries to run them on the target

0 commit comments

Comments
 (0)