Serial Wire JTAG configuration option is made available under condition that SPI_3 was not enabled on SOC_STM32F103XE. Besides being obsolete there are various other potential conflicts with other periphals, and it is not possible to explicit them all. To make it more coherent remove such condition, assume that user needs to take care of such pin conflict and express SWJ as having precedence over peripheral devices pin configuration. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
32 lines
709 B
Text
32 lines
709 B
Text
# STM32 GPIO configuration
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig GPIO_STM32
|
|
bool "GPIO Driver for STM32 family of MCUs"
|
|
depends on SOC_FAMILY_STM32
|
|
help
|
|
Enable GPIO driver for STM32 line of MCUs
|
|
|
|
if GPIO_STM32
|
|
|
|
choice GPIO_STM32_SWJ
|
|
prompt "Serial wire JTAG configuration"
|
|
depends on SOC_SERIES_STM32F1X
|
|
|
|
config GPIO_STM32_SWJ_ENABLE
|
|
bool "Full SWJ (JTAG-DP + SW-DP): Reset State"
|
|
|
|
config GPIO_STM32_SWJ_NONJTRST
|
|
bool "Full SWJ (JTAG-DP + SW-DP) but without NJTRST"
|
|
|
|
config GPIO_STM32_SWJ_NOJTAG
|
|
bool "JTAG-DP Disabled and SW-DP Enabled"
|
|
|
|
config GPIO_STM32_SWJ_DISABLE
|
|
bool "JTAG-DP Disabled and SW-DP Disabled"
|
|
|
|
endchoice
|
|
|
|
endif # GPIO_STM32
|