1# STMicroelectronics STM32G0 MCU line
2
3# Copyright (c) 2019 Philippe Retornaz <philippe@shapescale.com>
4# Copyright (c) 2019 STMicroelectronics
5# Copyright (c) 2020 Thomas Stranger
6# SPDX-License-Identifier: Apache-2.0
7
8config SOC_SERIES_STM32G0X
9	bool
10	select SOC_FAMILY_STM32
11
12config SOC_SERIES
13	default "stm32g0x" if SOC_SERIES_STM32G0X
14
15config SOC_STM32G030XX
16	bool
17	select SOC_SERIES_STM32G0X
18
19config SOC_STM32G031XX
20	bool
21	select SOC_SERIES_STM32G0X
22
23config SOC_STM32G041XX
24	bool
25	select SOC_SERIES_STM32G0X
26
27config SOC_STM32G050XX
28	bool
29	select SOC_SERIES_STM32G0X
30
31config SOC_STM32G051XX
32	bool
33	select SOC_SERIES_STM32G0X
34
35config SOC_STM32G061XX
36	bool
37	select SOC_SERIES_STM32G0X
38
39config SOC_STM32G070XX
40	bool
41	select SOC_SERIES_STM32G0X
42
43config SOC_STM32G071XX
44	bool
45	select SOC_SERIES_STM32G0X
46
47config SOC_STM32G081XX
48	bool
49	select SOC_SERIES_STM32G0X
50
51config SOC_STM32G0B0XX
52	bool
53	select SOC_SERIES_STM32G0X
54
55config SOC_STM32G0B1XX
56	bool
57	select SOC_SERIES_STM32G0X
58
59config SOC_STM32G0C1XX
60	bool
61	select SOC_SERIES_STM32G0X
62
63config SOC
64	default "stm32g030xx" if SOC_STM32G030XX
65	default "stm32g031xx" if SOC_STM32G031XX
66	default "stm32g041xx" if SOC_STM32G041XX
67	default "stm32g050xx" if SOC_STM32G050XX
68	default "stm32g051xx" if SOC_STM32G051XX
69	default "stm32g061xx" if SOC_STM32G061XX
70	default "stm32g070xx" if SOC_STM32G070XX
71	default "stm32g071xx" if SOC_STM32G071XX
72	default "stm32g081xx" if SOC_STM32G081XX
73	default "stm32g0b0xx" if SOC_STM32G0B0XX
74	default "stm32g0b1xx" if SOC_STM32G0B1XX
75	default "stm32g0c1xx" if SOC_STM32G0C1XX
76