-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boot: zephyr: boards: add ctcc/nrf52840 and ctcc/nrf9161 targets
Add ctcc/nrf52840 and ctcc/nrf9161 board targets. Signed-off-by: Jan Kowalewski <jkowalewski@cthings.co>
- Loading branch information
1 parent
7ba0e55
commit 0946c7a
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |