Skip to content

Commit 7a4b0a8

Browse files
maxd-nordicanangl
authored andcommitted
[nrf noup] boards: thingy91x: add board config
This patch adds board configuration for the Thingy:91 X. Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no> (cherry picked from commit e541ae9)
1 parent 782c4a1 commit 7a4b0a8

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# MCUBoot settings
2+
CONFIG_BOOT_MAX_IMG_SECTORS=110
3+
4+
# MCUboot serial recovery
5+
CONFIG_MCUBOOT_SERIAL=y
6+
7+
# Disable Zephyr console
8+
CONFIG_LOG=n
9+
CONFIG_CONSOLE=n
10+
CONFIG_CONSOLE_HANDLER=n
11+
CONFIG_UART_CONSOLE=n
12+
13+
# Serial
14+
CONFIG_SERIAL=y
15+
CONFIG_UART_NRFX=y
16+
CONFIG_UART_INTERRUPT_DRIVEN=y
17+
CONFIG_UART_LINE_CTRL=y
18+
19+
# MCUboot serial recovery
20+
CONFIG_GPIO=y
21+
CONFIG_MCUBOOT_SERIAL=y
22+
CONFIG_BOOT_SERIAL_CDC_ACM=y
23+
24+
# Required by USB
25+
CONFIG_MULTITHREADING=y
26+
27+
# USB
28+
CONFIG_USB_DEVICE_STACK=y
29+
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
30+
CONFIG_USB_CDC_ACM=y
31+
CONFIG_USB_COMPOSITE_DEVICE=y
32+
CONFIG_USB_MASS_STORAGE=n
33+
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor"
34+
CONFIG_USB_DEVICE_VID=0x1915
35+
CONFIG_USB_DEVICE_PID=0x520F
36+
37+
CONFIG_BOOT_SERIAL_BOOT_MODE=y
38+
39+
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x13E00
40+
41+
# The following configurations are required to support simultaneous multi image update
42+
CONFIG_PCD_APP=y
43+
CONFIG_UPDATEABLE_IMAGE_NUMBER=2
44+
CONFIG_BOOT_UPGRADE_ONLY=y
45+
# The network core cannot access external flash directly. The flash simulator must be used to
46+
# provide a memory region that is used to forward the new firmware to the network core.
47+
CONFIG_FLASH_SIMULATOR=y
48+
CONFIG_FLASH_SIMULATOR_DOUBLE_WRITES=y
49+
CONFIG_FLASH_SIMULATOR_STATS=n
50+
51+
CONFIG_BOOT_IMAGE_ACCESS_HOOKS=y
52+
CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y
53+
54+
CONFIG_NRF53_RECOVERY_NETWORK_CORE=y
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# MCUBoot settings
2+
CONFIG_BOOT_MAX_IMG_SECTORS=512
3+
4+
CONFIG_SPI=y
5+
CONFIG_SPI_NOR=y
6+
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
7+
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
8+
CONFIG_MULTITHREADING=y

0 commit comments

Comments
 (0)