Emanuele Di Santo | c7514ad | 2019-01-11 15:58:59 +0100 | [diff] [blame] | 1 | # 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 Bolivar | 5c877d5 | 2019-04-12 07:18:47 -0600 | [diff] [blame] | 4 | CONFIG_LOG=n |
Emanuele Di Santo | c7514ad | 2019-01-11 15:58:59 +0100 | [diff] [blame] | 5 | |
Marti Bolivar | 36ef25d | 2019-04-15 17:14:44 -0600 | [diff] [blame] | 6 | # The build won't fit on the partition allocated for it without size |
| 7 | # optimizations. |
| 8 | CONFIG_SIZE_OPTIMIZATIONS=y |
| 9 | |
Emanuele Di Santo | 4d20525 | 2018-11-01 16:07:35 +0100 | [diff] [blame] | 10 | # Serial |
Emanuele Di Santo | 4a60ee7 | 2018-07-20 11:43:00 +0200 | [diff] [blame] | 11 | CONFIG_SERIAL=y |
| 12 | CONFIG_UART_NRFX=y |
| 13 | CONFIG_UART_INTERRUPT_DRIVEN=y |
| 14 | CONFIG_UART_LINE_CTRL=y |
| 15 | |
| 16 | # MCUBoot serial |
| 17 | CONFIG_GPIO=y |
| 18 | CONFIG_MCUBOOT_SERIAL=y |
| 19 | CONFIG_BOOT_SERIAL_CDC_ACM=y |
| 20 | CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_1" |
| 21 | CONFIG_BOOT_SERIAL_DETECT_PIN=6 |
| 22 | |
Emanuele Di Santo | 4a60ee7 | 2018-07-20 11:43:00 +0200 | [diff] [blame] | 23 | # Required by USB |
| 24 | CONFIG_MULTITHREADING=y |
| 25 | |
| 26 | # USB |
| 27 | CONFIG_USB=y |
| 28 | CONFIG_USB_DEVICE_STACK=y |
| 29 | CONFIG_USB_DEVICE_PRODUCT="MCUBOOT" |
| 30 | CONFIG_USB_CDC_ACM=y |
| 31 | CONFIG_USB_COMPOSITE_DEVICE=n |
| 32 | CONFIG_USB_MASS_STORAGE=n |