Commit 0a8bbbf4 authored by Jamie McCrae's avatar Jamie McCrae Committed by Jamie
Browse files

boot: zephyr: Fix USB configs

Fixes USB configurations so that they build out of the box, this
previously falsely built successfully but would not run

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent d5c963c5
Loading
Loading
Loading
Loading
+2 −7
Changes for boot/zephyr/boards/nrf52840dongle_nrf52840.conf: 2 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -3,13 +3,10 @@
# Disable logging.
CONFIG_LOG=n

# The build won't fit on the partition allocated for it without size
# optimizations.
CONFIG_SIZE_OPTIMIZATIONS=y

# Serial
CONFIG_CONSOLE=n
CONFIG_SERIAL=y
CONFIG_UART_NRFX=y
CONFIG_UART_NRFX=n
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y

@@ -25,7 +22,5 @@ CONFIG_MULTITHREADING=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
CONFIG_USB_COMPOSITE_DEVICE=n
CONFIG_USB_MASS_STORAGE=n

CONFIG_NORDIC_QSPI_NOR=n
+2 −7
Changes for boot/zephyr/usb_cdc_acm_log_recovery.conf: 2 added lines, 7 removed lines.
Original line number Diff line number Diff line
CONFIG_LOG=y

# The build won't fit on the partition allocated for it without size
# optimizations.
CONFIG_SIZE_OPTIMIZATIONS=y

# Serial
CONFIG_UART_CONSOLE=n
CONFIG_CONSOLE=n
CONFIG_SERIAL=y
CONFIG_UART_LINE_CTRL=y

# MCUBoot serial
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_CDC_ACM=y

CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_BACKEND_RTT=n