samples: cdc_acm: add config overlay for cdc_acm+dfu
Add config overlay for cdc_acm+dfu composite configuration. Manual configuration over menuconfig may be error-prone for the user because then FLASH_LOAD_OFFSET and FLASH_LOAD_SIZE should also to be set to appropriate values. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
a05ef2559d
commit
bf71aee8e4
1 changed files with 10 additions and 0 deletions
10
samples/subsys/usb/cdc_acm/overlay-composite-cdc-dfu.conf
Normal file
10
samples/subsys/usb/cdc_acm/overlay-composite-cdc-dfu.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Overlay file for composite configuration
|
||||
# CDC ACM + USB DFU
|
||||
|
||||
CONFIG_USB_COMPOSITE_DEVICE=y
|
||||
|
||||
CONFIG_USB_DFU_CLASS=y
|
||||
CONFIG_FLASH=y
|
||||
CONFIG_IMG_MANAGER=y
|
||||
CONFIG_FLASH_PAGE_LAYOUT=y
|
||||
CONFIG_BOOTLOADER_MCUBOOT=y
|
Loading…
Add table
Add a link
Reference in a new issue