1# ST Microelectronics STM32F0 MCU line
2
3# Copyright (c) 2017 RnDity Sp. z o.o.
4# SPDX-License-Identifier: Apache-2.0
5
6config SOC_SERIES_STM32F0X
7	bool
8	select SOC_FAMILY_STM32
9
10config SOC_SERIES
11	default "stm32f0x" if SOC_SERIES_STM32F0X
12
13config SOC_STM32F030X4
14	bool
15	select SOC_SERIES_STM32F0X
16
17config SOC_STM32F030X6
18	bool
19	select SOC_SERIES_STM32F0X
20
21config SOC_STM32F030X8
22	bool
23	select SOC_SERIES_STM32F0X
24
25config SOC_STM32F030XC
26	bool
27	select SOC_SERIES_STM32F0X
28
29config SOC_STM32F031X6
30	bool
31	select SOC_SERIES_STM32F0X
32
33config SOC_STM32F042X6
34	bool
35	select SOC_SERIES_STM32F0X
36
37config SOC_STM32F051X8
38	bool
39	select SOC_SERIES_STM32F0X
40
41config SOC_STM32F070XB
42	bool
43	select SOC_SERIES_STM32F0X
44
45config SOC_STM32F072X8
46	bool
47	select SOC_SERIES_STM32F0X
48
49config SOC_STM32F072XB
50	bool
51	select SOC_SERIES_STM32F0X
52
53config SOC_STM32F091XC
54	bool
55	select SOC_SERIES_STM32F0X
56
57config SOC_STM32F098XX
58	bool
59	select SOC_SERIES_STM32F0X
60
61# STM32F0 Cube package advises to use 'stm32f030x6' code
62# for both STM32F030x4 and STM32F030x6
63config SOC
64	default "stm32f030x6" if SOC_STM32F030X4 || SOC_STM32F030X6
65	default "stm32f030x8" if SOC_STM32F030X8
66	default "stm32f030xc" if SOC_STM32F030XC
67	default "stm32f031x6" if SOC_STM32F031X6
68	default "stm32f042x6" if SOC_STM32F042X6
69	default "stm32f051x8" if SOC_STM32F051X8
70	default "stm32f070xb" if SOC_STM32F070XB
71	default "stm32f072xb" if SOC_STM32F072X8 || SOC_STM32F072XB
72	default "stm32f091xc" if SOC_STM32F091XC
73	default "stm32f098xx" if SOC_STM32F098XX
74