soc/stm32f1: Add the new type of SoC STM32F107

This patch provides initial support for the SoC STM32F107. This SoC
belongs to the Connectivity Line devices.

Connectivity line family incorporates up to 14 communication
interfaces such as: 2 x I2C, 5 x USART, 3 x SPI, 2 x CAN, USB 2.0,
10/100 Ethernet MAC.

Change-Id: I5cb2c458bce9ec1558b4168e87a7003ad9f606a5
Signed-off-by: Adam Podogrocki <adam.podogrocki@rndity.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Adam Podogrocki 2016-10-28 09:48:14 +02:00 committed by Kumar Gala
commit 10b350d854
2 changed files with 58 additions and 0 deletions

View file

@ -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

View file

@ -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.