2019-01-11 22:58:59 +08:00
|
|
|
# The UART is used for Serial Recovery, so logging requires
|
|
|
|
# an RTT console, which is not available out of the box on this board.
|
|
|
|
# Disable logging.
|
|
|
|
CONFIG_BOOT_HAVE_LOGGING=n
|
|
|
|
|
2018-11-01 23:07:35 +08:00
|
|
|
# Serial
|
2018-07-20 17:43:00 +08:00
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_UART_NRFX=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
CONFIG_UART_LINE_CTRL=y
|
|
|
|
|
|
|
|
# MCUBoot serial
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
CONFIG_MCUBOOT_SERIAL=y
|
|
|
|
CONFIG_BOOT_SERIAL_CDC_ACM=y
|
|
|
|
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_1"
|
|
|
|
CONFIG_BOOT_SERIAL_DETECT_PIN=6
|
|
|
|
|
|
|
|
# Required by USB
|
|
|
|
CONFIG_MULTITHREADING=y
|
|
|
|
|
|
|
|
# USB
|
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
|
|
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
|
|
|
|
CONFIG_USB_CDC_ACM=y
|
|
|
|
CONFIG_USB_COMPOSITE_DEVICE=n
|
|
|
|
CONFIG_USB_MASS_STORAGE=n
|