Skip to content

Commit e0cb51e

Browse files
committed
boot: zephyr: adjust sample.yaml to pass USB deprecation process
The legacy USB device stack is in the process of being deprecated. In order to pass CI in the Zephyr Project, we need to adjust the test case settings in sample.yaml. Clean up both test cases and add a Kconfig option that allows them to pass Twitter runs despite deprecation warnings and flash overflows. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
1 parent 07222c1 commit e0cb51e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

boot/zephyr/sample.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,20 @@ tests:
4949
tags: bootloader_mcuboot
5050
sample.bootloader.mcuboot.usb_cdc_acm_recovery:
5151
tags: bootloader_mcuboot
52-
platform_allow: nrf52840dongle/nrf52840
52+
platform_allow: nrf52840dongle/nrf52840
5353
extra_args:
5454
- EXTRA_CONF_FILE=./usb_cdc_acm_recovery.conf
5555
- DTC_OVERLAY_FILE="./usb_cdc_acm.overlay;app.overlay"
56-
integration_platforms:
57-
- nrf52840dongle/nrf52840
56+
extra_configs:
57+
- CONFIG_DEPRECATION_TEST=y
5858
sample.bootloader.mcuboot.usb_cdc_acm_recovery_log:
59-
extra_args: EXTRA_CONF_FILE=./usb_cdc_acm_log_recovery.conf
60-
DTC_OVERLAY_FILE="./boards/nrf52840_big.overlay;app.overlay"
61-
platform_allow: nrf52840dk/nrf52840
62-
integration_platforms:
63-
- nrf52840dk/nrf52840
6459
tags: bootloader_mcuboot
60+
platform_allow: nrf52840dk/nrf52840
61+
extra_args:
62+
- EXTRA_CONF_FILE=./usb_cdc_acm_log_recovery.conf
63+
- DTC_OVERLAY_FILE="./boards/nrf52840_big.overlay;app.overlay"
64+
extra_configs:
65+
- CONFIG_DEPRECATION_TEST=y
6566
sample.bootloader.mcuboot.single_slot:
6667
extra_args: EXTRA_CONF_FILE=./single_slot.conf
6768
DTC_OVERLAY_FILE="./boards/nrf52840_single_slot.overlay;app.overlay"

0 commit comments

Comments
 (0)