mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-20 21:15:22 +00:00
Use compatible information to configure i2c stm32. With this, driver version selection is done thanks to compatible and it is not needed anymore to do this via Kconfig symbol selection under soc/ Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
20 lines
390 B
Plaintext
20 lines
390 B
Plaintext
# ST Microelectronics STM32L0 MCU line
|
|
|
|
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Kconfig symbols common to STM32L0 series
|
|
|
|
if SOC_SERIES_STM32L0X
|
|
|
|
source "soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l0*"
|
|
|
|
config SOC_SERIES
|
|
default "stm32l0"
|
|
|
|
config DMA_STM32_V2
|
|
default y
|
|
depends on DMA_STM32
|
|
|
|
endif # SOC_SERIES_STM32L0X
|