Commit 11c7371f authored by Jamie McCrae's avatar Jamie McCrae Committed by Carles Cufi
Browse files

samples: Explicitly disable boot USB device support init at boot



Disables having USB enabled for boards that configure USB CDC for
console, shell or logging at bootup in applications that enable USB
to prevent a conflict arising whereby USB is registered from
multiple points and later calls fail.

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent f09111a2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr HCI UART sample"
CONFIG_USB_CDC_ACM=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ CONFIG_STDOUT_CONSOLE=y
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PID=0x000C
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ CONFIG_USB_DEVICE_PID=0x1234
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr CDC SensorTile.box"
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ CONFIG_USB_DEVICE_STACK=y

# Select USB Configurations
CONFIG_USB_DEVICE_NETWORK_ECM=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

# Logging
CONFIG_USB_DRIVER_LOG_LEVEL_INF=y
Loading