mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 16:42:39 +00:00
Use CONFIG_SOC_FAMILY for the top level SoC family. A family will have different SoCs or different SoC series with multiple SoCs. Adding the Family string to the config variable to avoid confusion between actual SoCs and families and to prevent name collisions. Change-Id: Ic99a2c1df7850dee3a45641027af82464dd6fadb Signed-off-by: Anas Nashif <anas.nashif@intel.com>
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
# Kconfig - configuration for STM32 pinmux
|
|
#
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
config PINMUX_STM32
|
|
bool "Pinmux driver for STM32 MCUs"
|
|
depends on PINMUX && SOC_FAMILY_STM32
|
|
help
|
|
Enable pin multiplexter for STM32 MCUs
|
|
|
|
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
|