zephyr/samples/subsys/usb/dfu-next/sample.yaml
Johann Fischer 694c342885 samples: usb: add sample for the new USB DFU implementation
The sample defines an image that uses RAMdisk and also provides an
option to enable USB DFU flash backend for the "slot-1" flash partition.
Assuming the user runs this sample from the slot-0 partition, uploading
to flash should work fine for evaluation purposes.

If the sample is built with CONFIG_BOOTLOADER_MCUBOOT=y, the sample will
mark the image in slot 1 as pending after an image download.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-02-04 11:55:25 +01:00

26 lines
541 B
YAML

sample:
name: USB DFU sample
common:
min_ram: 64
depends_on:
- usbd
tests:
sample.usbd.dfu:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
- stm32f723e_disco
- nucleo_f413zh
- mimxrt685_evk/mimxrt685s/cm33
- mimxrt1060_evk/mimxrt1062/qspi
tags: usb
sample.usbd.dfu-flash:
platform_allow:
- nrf52840dk/nrf52840
- frdm_k64f
min_flash: 1024
tags: usb
extra_configs:
- CONFIG_APP_USB_DFU_USE_FLASH_BACKEND=y