-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf noup] boards: thingy91x: add board config
This patch adds board configuration for the Thingy:91 X. Signed-off-by: Maximilian Deubel <[email protected]> (cherry picked from commit a9d5fa7)
- Loading branch information
1 parent
8bb8567
commit 3c2f2ff
Showing
2 changed files
with
62 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,54 @@ | ||
# MCUBoot settings | ||
CONFIG_BOOT_MAX_IMG_SECTORS=110 | ||
|
||
# MCUboot serial recovery | ||
CONFIG_MCUBOOT_SERIAL=y | ||
|
||
# Disable Zephyr console | ||
CONFIG_LOG=n | ||
CONFIG_CONSOLE=n | ||
CONFIG_CONSOLE_HANDLER=n | ||
CONFIG_UART_CONSOLE=n | ||
|
||
# Serial | ||
CONFIG_SERIAL=y | ||
CONFIG_UART_NRFX=y | ||
CONFIG_UART_INTERRUPT_DRIVEN=y | ||
CONFIG_UART_LINE_CTRL=y | ||
|
||
# MCUboot serial recovery | ||
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_PRODUCT="MCUBOOT" | ||
CONFIG_USB_CDC_ACM=y | ||
CONFIG_USB_COMPOSITE_DEVICE=y | ||
CONFIG_USB_MASS_STORAGE=n | ||
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor" | ||
CONFIG_USB_DEVICE_VID=0x1915 | ||
CONFIG_USB_DEVICE_PID=0x520F | ||
|
||
CONFIG_BOOT_SERIAL_BOOT_MODE=y | ||
|
||
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x13E00 | ||
|
||
# The following configurations are required to support simultaneous multi image update | ||
CONFIG_PCD_APP=y | ||
CONFIG_UPDATEABLE_IMAGE_NUMBER=2 | ||
CONFIG_BOOT_UPGRADE_ONLY=y | ||
# The network core cannot access external flash directly. The flash simulator must be used to | ||
# provide a memory region that is used to forward the new firmware to the network core. | ||
CONFIG_FLASH_SIMULATOR=y | ||
CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y | ||
CONFIG_FLASH_SIMULATOR_STATS=n | ||
|
||
CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y | ||
CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y | ||
|
||
CONFIG_NRF53_RECOVERY_NETWORK_CORE=y |
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,8 @@ | ||
# MCUBoot settings | ||
CONFIG_BOOT_MAX_IMG_SECTORS=512 | ||
|
||
CONFIG_SPI=y | ||
CONFIG_SPI_NOR=y | ||
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 | ||
CONFIG_SPI_NOR_SFDP_DEVICETREE=y | ||
CONFIG_MULTITHREADING=y |