2019-11-01 20:45:29 +08:00
|
|
|
# STMicroelectronics STM32G0 MCU line
|
|
|
|
|
2019-07-01 22:04:25 +08:00
|
|
|
# Copyright (c) 2019 Philippe Retornaz <philippe@shapescale.com>
|
|
|
|
# Copyright (c) 2019 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_SERIES_STM32G0X
|
|
|
|
|
|
|
|
source "soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g0*"
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "stm32g0"
|
|
|
|
|
|
|
|
if GPIO_STM32
|
|
|
|
|
2019-07-01 22:46:34 +08:00
|
|
|
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
|
|
|
|
|
|
|
|
config GPIO_STM32_PORTD
|
|
|
|
default y
|
|
|
|
|
|
|
|
config GPIO_STM32_PORTF
|
|
|
|
default y
|
|
|
|
|
2019-11-07 23:04:13 +08:00
|
|
|
if I2C_STM32
|
|
|
|
|
|
|
|
config I2C_STM32_V2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C_STM32
|
|
|
|
|
2019-07-01 22:04:25 +08:00
|
|
|
endif # GPIO_STM32
|
|
|
|
|
|
|
|
endif # SOC_SERIES_STM32G0X
|