Skip to content

Commit 19486e4

Browse files
committed
Revert "[nrf fromlist] boot: zephyr: Remove legacy serial recovery GPIO configuration"
This reverts commit c362afb. Signed-off-by: Tomasz Moń <[email protected]>
1 parent 14e45ce commit 19486e4

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

boot/zephyr/boards/actinius_icarus.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ CONFIG_BOOT_MAX_IMG_SECTORS=256
66

77
# MCUboot serial recovery
88
CONFIG_MCUBOOT_SERIAL=y
9+
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0"
10+
CONFIG_BOOT_SERIAL_DETECT_PIN=5
11+
CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0

boot/zephyr/boards/circuitdojo_feather_nrf9160.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ CONFIG_BOOT_MAX_IMG_SECTORS=256
99

1010
# MCUboot serial recovery
1111
CONFIG_MCUBOOT_SERIAL=y
12+
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0"
13+
CONFIG_BOOT_SERIAL_DETECT_PIN=12
14+
CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0
1215
CONFIG_BOOT_SERIAL_DETECT_DELAY=450
1316
CONFIG_MCUBOOT_INDICATION_LED=y
1417

boot/zephyr/boards/nrf52840dongle_nrf52840.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ CONFIG_UART_LINE_CTRL=y
1717
CONFIG_GPIO=y
1818
CONFIG_MCUBOOT_SERIAL=y
1919
CONFIG_BOOT_SERIAL_CDC_ACM=y
20+
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_1"
21+
CONFIG_BOOT_SERIAL_DETECT_PIN=6
2022

2123
# Required by USB
2224
CONFIG_MULTITHREADING=y

boot/zephyr/boards/sparkfun_thing_plus_nrf9160.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ CONFIG_BOOT_MAX_IMG_SECTORS=256
99

1010
# MCUboot serial recovery
1111
CONFIG_MCUBOOT_SERIAL=y
12+
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0"
13+
CONFIG_BOOT_SERIAL_DETECT_PIN=12
14+
CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0
1215
CONFIG_BOOT_SERIAL_DETECT_DELAY=450
1316
CONFIG_MCUBOOT_INDICATION_LED=y
1417

boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ CONFIG_GPIO=y
2424
CONFIG_MCUBOOT_SERIAL=y
2525
CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD=y
2626
CONFIG_BOOT_SERIAL_CDC_ACM=y
27+
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_1"
28+
CONFIG_BOOT_SERIAL_DETECT_PIN=13
2729

2830
# Required by QSPI
2931
CONFIG_NORDIC_QSPI_NOR=y

0 commit comments

Comments
 (0)