diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc new file mode 100644 index 00000000000..7aa0c56b214 --- /dev/null +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc @@ -0,0 +1,34 @@ +# Kconfig - ST Microelectronics STM32F107XC MCU +# +# Copyright (c) 2016 RnDity 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. +# + +if SOC_STM32F107XC + +config SOC + string + default stm32f107xc + +config SRAM_SIZE + default 64 + +config FLASH_SIZE + default 256 + +config NUM_IRQS + int + default 68 + +endif # SOC_STM32F107XC diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc b/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc index 07ead7a7332..f307369e9b8 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc @@ -1,6 +1,7 @@ # Kconfig - ST Microelectronics STM32F1 MCU line # # Copyright (c) 2016 Open-RnD Sp. z o.o. +# Copyright (c) RnDity 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. @@ -21,8 +22,31 @@ depends on SOC_SERIES_STM32F1X config SOC_STM32F103XE bool "STM32F103XE" + select SOC_STM32F10X_DENSITY_DEVICE config SOC_STM32F103XB bool "STM32F103XB" + select SOC_STM32F10X_DENSITY_DEVICE + +config SOC_STM32F107XC + bool "STM32F107XC" + select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE endchoice + +config SOC_STM32F10X_DENSITY_DEVICE + bool + help + * Low density Value line devices + * Medium density Value line devices + * High density Value line devices + * XL-density devices Value line devices + +config SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE + bool + help + Connectivity line devices are STM32F105xx and STM32F107xx + microcontrollers. They are intended for applications where + connectivity and real-time performances are required such as + industrial control, control panels for security applications, UPS or + home audio. For STM32F107xx also the Ethernet MAC is available.