Skip to content

Commit 49e2872

Browse files
bjdabjarki-andreasen
authored andcommitted
[nrf noup] boards: add support for Thingy:91
Adds project configurations for the two systems on the Thingy:91 (PCA-20035) board. The bootloader that is factory-programmed on thing91 does not support ECDSA signature type. Hence this commit also sets the signature type to RSA for applications built for Thingy:91. Signed-off-by: Bernt Johan Damslora <[email protected]> Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Jon Helge Nistad <[email protected]> Signed-off-by: Balaji Srinivasan <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Jamie McCrae <[email protected]> Signed-off-by: Marek Pieta <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit de32681)
1 parent bee9475 commit 49e2872

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Disable Zephyr console
2+
CONFIG_LOG=n
3+
CONFIG_CONSOLE=n
4+
CONFIG_CONSOLE_HANDLER=n
5+
CONFIG_UART_CONSOLE=n
6+
7+
# The build won't fit on the partition allocated for it without size
8+
# optimizations.
9+
CONFIG_SIZE_OPTIMIZATIONS=y
10+
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x12000
11+
12+
# Serial
13+
CONFIG_SERIAL=y
14+
CONFIG_UART_NRFX=y
15+
CONFIG_UART_INTERRUPT_DRIVEN=y
16+
CONFIG_UART_LINE_CTRL=y
17+
18+
# MCUboot serial recovery
19+
CONFIG_GPIO=y
20+
CONFIG_MCUBOOT_SERIAL=y
21+
CONFIG_BOOT_SERIAL_CDC_ACM=y
22+
23+
# Required by USB
24+
CONFIG_MULTITHREADING=y
25+
26+
# USB
27+
CONFIG_USB_DEVICE_STACK=y
28+
CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
29+
CONFIG_USB_CDC_ACM=y
30+
CONFIG_USB_COMPOSITE_DEVICE=y
31+
CONFIG_USB_MASS_STORAGE=n
32+
CONFIG_USB_DEVICE_MANUFACTURER="Nordic Semiconductor"
33+
CONFIG_USB_DEVICE_VID=0x1915
34+
CONFIG_USB_DEVICE_PID=0x520F
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Disable Zephyr console
2+
CONFIG_CONSOLE=n
3+
CONFIG_CONSOLE_HANDLER=n
4+
CONFIG_UART_CONSOLE=n
5+
6+
# Disable Flash protection
7+
CONFIG_FPROTECT=n
8+
9+
# MCUBoot settings
10+
CONFIG_BOOT_MAX_IMG_SECTORS=256
11+
12+
# MCUboot serial recovery
13+
CONFIG_MCUBOOT_SERIAL=y

0 commit comments

Comments
 (0)