Skip to content

Commit 0946c7a

Browse files
kowalewskijannordicjm
authored andcommitted
boot: zephyr: boards: add ctcc/nrf52840 and ctcc/nrf9161 targets
Add ctcc/nrf52840 and ctcc/nrf9161 board targets. Signed-off-by: Jan Kowalewski <[email protected]>
1 parent 7ba0e55 commit 0946c7a

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

boot/zephyr/boards/ctcc_nrf52840.conf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Disable logging
2+
CONFIG_LOG=n
3+
CONFIG_CONSOLE=n
4+
CONFIG_UART_CONSOLE=n
5+
6+
# MCUBoot serial configuration
7+
CONFIG_MCUBOOT_SERIAL=y
8+
CONFIG_BOOT_SERIAL_ENTRANCE_GPIO=n
9+
CONFIG_BOOT_SERIAL_CDC_ACM=y
10+
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
11+
CONFIG_BOOT_SERIAL_NO_APPLICATION=y
12+
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=5000
13+
CONFIG_BOOT_USB_DFU_WAIT=n
14+
15+
# Required by USB
16+
CONFIG_MULTITHREADING=y
17+
18+
# USB
19+
CONFIG_USB_DEVICE_STACK=y
20+
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n

boot/zephyr/boards/ctcc_nrf9161.conf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Disable logging
2+
CONFIG_LOG=n
3+
CONFIG_CONSOLE=n
4+
CONFIG_UART_CONSOLE=n
5+
6+
# MCUboot serial configuration
7+
CONFIG_MCUBOOT_SERIAL=y
8+
CONFIG_BOOT_SERIAL_UART=y
9+
CONFIG_BOOT_SERIAL_ENTRANCE_GPIO=n
10+
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
11+
CONFIG_BOOT_SERIAL_NO_APPLICATION=y
12+
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=5000
13+
14+
# SPI NOR
15+
CONFIG_SPI_NOR=n

0 commit comments

Comments
 (0)