Skip to content

Commit bf71aee

Browse files
jfischer-nonashif
authored andcommitted
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 <[email protected]>
1 parent a05ef25 commit bf71aee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Overlay file for composite configuration
2+
# CDC ACM + USB DFU
3+
4+
CONFIG_USB_COMPOSITE_DEVICE=y
5+
6+
CONFIG_USB_DFU_CLASS=y
7+
CONFIG_FLASH=y
8+
CONFIG_IMG_MANAGER=y
9+
CONFIG_FLASH_PAGE_LAYOUT=y
10+
CONFIG_BOOTLOADER_MCUBOOT=y

0 commit comments

Comments
 (0)