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@A/mimxrt1062/qspi
12    - mimxrt1060_evk@B/mimxrt1062/qspi
13    - mimxrt1060_evk@C/mimxrt1062/qspi
14    - sam4l_ek
15    - same54_xpro
16    - samr21_xpro
17    - mimxrt1050_evk/mimxrt1052/hyperflash
18    - mimxrt1050_evk/mimxrt1052/qspi
19    - mimxrt1060_evk/mimxrt1062/hyperflash
20    - mimxrt1180_evk/mimxrt1189/cm7
21    - mimxrt700_evk/mimxrt798s/cm33_cpu0
22    - nucleo_f207zg
23    - teensy40
24    - teensy41
25    - b_u585i_iot02a
26    - frdm_kl25z
27    - frdm_mcxc242
28    - frdm_mcxc444
29    - frdm_mcxa156
30    - lpcxpresso55s69/lpc55s69/cpu0
31    - stm32l562e_dk/stm32l562xx/ns
32  depends_on: usb_device
33  filter: dt_label_with_parent_compat_enabled("slot0_partition", "fixed-partitions")
34    and dt_label_with_parent_compat_enabled("slot1_partition", "fixed-partitions")
35    and dt_chosen_enabled("zephyr,flash-controller") and CONFIG_FLASH_HAS_DRIVER_ENABLED
36  integration_platforms:
37    - nrf52840dk/nrf52840
38    - frdm_k64f
39tests:
40  sample.usb.dfu:
41    tags: usb
42  sample.usb.dfu.permanent.download:
43    tags: usb
44    extra_args: EXTRA_CONF_FILE=overlay-permanent-download.conf
45