From 13aba9dc38aca6b52068b1d018553849d645e935 Mon Sep 17 00:00:00 2001 From: Tomasz Chyrowicz Date: Tue, 8 Jul 2025 11:59:52 +0200 Subject: [PATCH] [nrf fromlist] boot: Add config for dongle bare variant Add a configuration file for the nRF52840 dongle bare variant. Upstream PR #: 2381 Signed-off-by: Tomasz Chyrowicz --- .../boards/nrf52840dongle_nrf52840_bare.conf | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 boot/zephyr/boards/nrf52840dongle_nrf52840_bare.conf diff --git a/boot/zephyr/boards/nrf52840dongle_nrf52840_bare.conf b/boot/zephyr/boards/nrf52840dongle_nrf52840_bare.conf new file mode 100644 index 000000000..d219f351d --- /dev/null +++ b/boot/zephyr/boards/nrf52840dongle_nrf52840_bare.conf @@ -0,0 +1,26 @@ +# 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_LOG=n + +# Serial +CONFIG_CONSOLE=n +CONFIG_SERIAL=y +CONFIG_UART_NRFX=n +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 + +# Required by USB +CONFIG_MULTITHREADING=y + +# USB +CONFIG_USB_DEVICE_STACK=y +CONFIG_USB_DEVICE_REMOTE_WAKEUP=n +CONFIG_USB_DEVICE_PRODUCT="MCUBOOT" + +CONFIG_NORDIC_QSPI_NOR=n