1# ST Microelectronics STM32F1 MCU line
2
3# Copyright (c) 2016 Open-RnD Sp. z o.o.
4# Copyright (c) RnDity Sp. z o.o.
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_STM32F1X
8	bool
9	select SOC_FAMILY_STM32
10
11config SOC_SERIES
12	default "stm32f1x" if SOC_SERIES_STM32F1X
13
14config SOC_STM32F100XB
15	bool
16	select SOC_SERIES_STM32F1X
17
18config SOC_STM32F100XE
19	bool
20	select SOC_SERIES_STM32F1X
21
22config SOC_STM32F103XE
23	bool
24	select SOC_SERIES_STM32F1X
25	select SOC_STM32F10X_DENSITY_DEVICE
26
27config SOC_STM32F103XB
28	bool
29	select SOC_SERIES_STM32F1X
30	select SOC_STM32F10X_DENSITY_DEVICE
31
32config SOC_STM32F103X8
33	bool
34	select SOC_SERIES_STM32F1X
35	select SOC_STM32F10X_DENSITY_DEVICE
36
37config SOC_STM32F105XB
38	bool
39	select SOC_SERIES_STM32F1X
40	select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
41
42config SOC_STM32F105XC
43	bool
44	select SOC_SERIES_STM32F1X
45	select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
46
47config SOC_STM32F107XC
48	bool
49	select SOC_SERIES_STM32F1X
50	select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
51
52config SOC_STM32F10X_DENSITY_DEVICE
53	bool
54	help
55	  STM32F101xx, STM32F102xx, STM32F103xx:
56	  * Low density Value line devices
57	  * Medium density Value line devices
58	  * High density Value line devices
59	  * XL-density devices Value line devices
60
61config SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
62	bool
63	help
64	  Connectivity line devices are STM32F105xx and STM32F107xx
65	  microcontrollers.  They are intended for applications where
66	  connectivity and real-time performances are required such as
67	  industrial control, control panels for security applications, UPS or
68	  home audio.  For STM32F107xx also the Ethernet MAC is available.
69
70config SOC
71	default "stm32f100xb" if SOC_STM32F100XB
72	default "stm32f100xe" if SOC_STM32F100XE
73	default "stm32f103xb" if SOC_STM32F103XB || SOC_STM32F103X8
74	default "stm32f103xe" if SOC_STM32F103XE
75	default "stm32f105xc" if SOC_STM32F105XC || SOC_STM32F105XB
76	default "stm32f107xc" if SOC_STM32F107XC
77