Commit c5faf431 authored by Andrzej Puzdrowski's avatar Andrzej Puzdrowski
Browse files

zephyr/Kconfig: deprecation of pin configuration

Added note of deprecation of hardware properties of
the gpio-pin used for triggering the recovery DFU modes.

Signed-off-by: default avatarAndrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
parent 7ed0e6d0
Loading
Loading
Loading
Loading
+3 −3
Changes for boot/zephyr/Kconfig: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -435,14 +435,14 @@ config BOOT_USB_DFU_WAIT_DELAY_MS
if BOOT_USB_DFU_GPIO

config BOOT_USB_DFU_DETECT_PORT
	string "GPIO device to trigger USB DFU mode"
	string "GPIO device to trigger USB DFU mode (DEPRECATED)"
	default GPIO_0 if SOC_FAMILY_NRF
	help
	  Zephyr GPIO device that contains the pin used to trigger
	  USB DFU.

config BOOT_USB_DFU_DETECT_PIN
	int "Pin to trigger USB DFU mode"
	int "Pin to trigger USB DFU mode (DEPRECATED)"
	default 6 if BOARD_NRF9160DK_NRF9160
	default 11 if BOARD_NRF52840DK_NRF52840
	default 13 if BOARD_NRF52DK_NRF52832
@@ -452,7 +452,7 @@ config BOOT_USB_DFU_DETECT_PIN
	  Pin on the DFU detect port that triggers DFU mode.

config BOOT_USB_DFU_DETECT_PIN_VAL
	int "USB DFU detect pin trigger value"
	int "USB DFU detect pin trigger value (DEPRECATED)"
	default 0
	range 0 1
	help
+3 −3
Changes for boot/zephyr/Kconfig.serial_recovery: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -57,14 +57,14 @@ config BOOT_MAX_LINE_INPUT_LEN
	  Maximum length of commands transported over the serial port.

config BOOT_SERIAL_DETECT_PORT
	string "GPIO device to trigger serial recovery mode"
	string "GPIO device to trigger serial recovery mode (DEPRECATED)"
	default GPIO_0 if SOC_FAMILY_NRF
	help
	  Zephyr GPIO device that contains the pin used to trigger
	  serial recovery mode.

config BOOT_SERIAL_DETECT_PIN
	int "Pin to trigger serial recovery mode"
	int "Pin to trigger serial recovery mode (DEPRECATED)"
	default 6 if BOARD_NRF9160DK_NRF9160
	default 11 if BOARD_NRF52840DK_NRF52840
	default 13 if BOARD_NRF52DK_NRF52832 || BOARD_NRF52833DK_NRF52833
@@ -74,7 +74,7 @@ config BOOT_SERIAL_DETECT_PIN
	  Pin on the serial detect port that triggers serial recovery mode.

config BOOT_SERIAL_DETECT_PIN_VAL
	int "Serial detect pin trigger value"
	int "Serial detect pin trigger value (DEPRECATED)"
	default 0
	range 0 1
	help