1sample:
2  name: USB DFU sample
3
4common:
5  build_only: true
6  arch_exclude: posix
7  platform_exclude:
8    - mimxrt1010_evk
9    - mimxrt1020_evk
10    - mimxrt1015_evk
11    - mimxrt1060_evk/mimxrt1062/qspi
12    - sam4l_ek
13    - mimxrt1050_evk/mimxrt1052/hyperflash
14    - mimxrt1050_evk/mimxrt1052/qspi
15    - mimxrt1060_evk/mimxrt1062/hyperflash
16    - nucleo_f207zg
17    - teensy40
18    - teensy41
19    - b_u585i_iot02a
20    - frdm_kl25z
21    - frdm_mcxc242
22    - frdm_mcxc444
23    - frdm_mcxa156
24    - lpcxpresso55s69/lpc55s69/cpu0
25    - stm32l562e_dk/stm32l562xx/ns
26  depends_on: usb_device
27  filter: dt_label_with_parent_compat_enabled("slot0_partition", "fixed-partitions")
28    and dt_label_with_parent_compat_enabled("slot1_partition", "fixed-partitions")
29    and dt_chosen_enabled("zephyr,flash-controller") and CONFIG_FLASH_HAS_DRIVER_ENABLED
30  integration_platforms:
31    - nrf52840dk/nrf52840
32    - frdm_k64f
33tests:
34  sample.usb.dfu:
35    tags: usb
36  sample.usb.dfu.permanent.download:
37    tags: usb
38    extra_args: EXTRA_CONF_FILE=overlay-permanent-download.conf
39