Skip to content

Commit

Permalink
boot: zephyr: boards: add ctcc/nrf52840 and ctcc/nrf9161 targets
Browse files Browse the repository at this point in the history
Add ctcc/nrf52840 and ctcc/nrf9161 board targets.

Signed-off-by: Jan Kowalewski <jkowalewski@cthings.co>
  • Loading branch information
kowalewskijan authored and nordicjm committed Dec 13, 2024
1 parent 7ba0e55 commit 0946c7a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
20 changes: 20 additions & 0 deletions boot/zephyr/boards/ctcc_nrf52840.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Disable logging
CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n

# MCUBoot serial configuration
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_ENTRANCE_GPIO=n
CONFIG_BOOT_SERIAL_CDC_ACM=y
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
CONFIG_BOOT_SERIAL_NO_APPLICATION=y
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=5000
CONFIG_BOOT_USB_DFU_WAIT=n

# Required by USB
CONFIG_MULTITHREADING=y

# USB
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n
15 changes: 15 additions & 0 deletions boot/zephyr/boards/ctcc_nrf9161.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Disable logging
CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n

# MCUboot serial configuration
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_UART=y
CONFIG_BOOT_SERIAL_ENTRANCE_GPIO=n
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
CONFIG_BOOT_SERIAL_NO_APPLICATION=y
CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=5000

# SPI NOR
CONFIG_SPI_NOR=n

0 comments on commit 0946c7a

Please sign in to comment.