2016-03-03 22:33:15 +08:00
|
|
|
# Kconfig - configuration for STM32 pinmux
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-03-03 22:33:15 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
config PINMUX_STM32
|
|
|
|
bool "Pinmux driver for STM32 MCUs"
|
2019-03-07 12:54:37 +08:00
|
|
|
depends on SOC_FAMILY_STM32
|
2016-03-03 22:33:15 +08:00
|
|
|
help
|
2017-04-22 01:29:51 +08:00
|
|
|
Enable pin multiplexer for STM32 MCUs
|
2016-03-03 22:33:15 +08:00
|
|
|
|
|
|
|
config PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY
|
|
|
|
int "Device initialization priority STM32 pinmux"
|
|
|
|
depends on PINMUX_STM32
|
|
|
|
default 2
|
|
|
|
help
|
|
|
|
This option controls the priority of pinmux device initialization.
|
|
|
|
Higher priority ensures that the device is initialized earlier in
|
|
|
|
the startup cycle. Note that the pinmux device needs to be initialized
|
|
|
|
after clock control device, but possibly before all other devices.
|
|
|
|
If unsure, leave at default value 2
|