blob: ba333d9c1377db56c5a54db73d188a86374a927c [file] [log] [blame]
Emanuele Di Santoc7514ad2019-01-11 15:58:59 +01001# The UART is used for Serial Recovery, so logging requires
2# an RTT console, which is not available out of the box on this board.
3# Disable logging.
Marti Bolivar5c877d52019-04-12 07:18:47 -06004CONFIG_LOG=n
Emanuele Di Santoc7514ad2019-01-11 15:58:59 +01005
Marti Bolivar36ef25d2019-04-15 17:14:44 -06006# The build won't fit on the partition allocated for it without size
7# optimizations.
8CONFIG_SIZE_OPTIMIZATIONS=y
9
Emanuele Di Santo4d205252018-11-01 16:07:35 +010010# Serial
Emanuele Di Santo4a60ee72018-07-20 11:43:00 +020011CONFIG_SERIAL=y
12CONFIG_UART_NRFX=y
13CONFIG_UART_INTERRUPT_DRIVEN=y
14CONFIG_UART_LINE_CTRL=y
15
16# MCUBoot serial
17CONFIG_GPIO=y
18CONFIG_MCUBOOT_SERIAL=y
19CONFIG_BOOT_SERIAL_CDC_ACM=y
20CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_1"
21CONFIG_BOOT_SERIAL_DETECT_PIN=6
22
Emanuele Di Santo4a60ee72018-07-20 11:43:00 +020023# Required by USB
24CONFIG_MULTITHREADING=y
25
26# USB
27CONFIG_USB=y
28CONFIG_USB_DEVICE_STACK=y
29CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
30CONFIG_USB_CDC_ACM=y
31CONFIG_USB_COMPOSITE_DEVICE=n
32CONFIG_USB_MASS_STORAGE=n