1# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_SERIES_ESP32
5	bool
6	select SOC_FAMILY_ESPRESSIF_ESP32
7	help
8	  ESP32 Series
9
10config SOC_ESP32_D0WD_V3
11	bool
12	select SOC_ESP32
13	help
14	  ESP32_D0WD_V3
15
16config SOC_ESP32_D0WDR2_V3
17	bool
18	select SOC_ESP32
19	help
20	  ESP32_D0WDR2_V3
21
22config SOC_ESP32_U4WDH
23	bool
24	select SOC_ESP32
25	help
26	  ESP32_U4WDH
27
28config SOC_ESP32_PICO_V3
29	bool
30	select SOC_ESP32
31	help
32	  ESP32_PICO_V3
33
34config SOC_ESP32_PICO_V3_02
35	bool
36	select SOC_ESP32
37	help
38	  ESP32_PICO_V3_02
39
40config SOC_ESP32_PICO_D4
41	bool
42	select SOC_ESP32
43	help
44	  ESP32_PICO_D4
45
46# SiP with external flash / psram
47config SOC_ESP32_WROOM_DA_N4
48	bool
49	select SOC_ESP32
50	help
51	  ESP32_WROOM_DA_N4
52
53config SOC_ESP32_WROOM_DA_N8
54	bool
55	select SOC_ESP32
56	help
57	  ESP32_WROOM_DA_N8
58
59config SOC_ESP32_WROOM_DA_N16
60	bool
61	select SOC_ESP32
62	help
63	  ESP32_WROOM_DA_N16
64
65config SOC_ESP32_WROOM_32UE_N4
66	bool
67	select SOC_ESP32
68	help
69	  ESP32_WROOM_32UE_N4
70
71config SOC_ESP32_WROOM_32UE_N8
72	bool
73	select SOC_ESP32
74	help
75	  ESP32_WROOM_32UE_N8
76
77config SOC_ESP32_WROOM_32UE_N16
78	bool
79	select SOC_ESP32
80	help
81	  ESP32_WROOM_32UE_N16
82
83config SOC_ESP32_WROVER_E_N4R2
84	bool
85	select SOC_ESP32
86	help
87	  ESP32_WROVER_E_N4R2
88
89config SOC_ESP32_WROVER_E_N8R2
90	bool
91	select SOC_ESP32
92	help
93	  ESP32_WROVER_E_N8R2
94
95config SOC_ESP32_WROVER_E_N16R2
96	bool
97	select SOC_ESP32
98	help
99	  ESP32_WROVER_E_N16R2
100
101config SOC_ESP32_WROVER_E_N16R4
102	bool
103	select SOC_ESP32
104	help
105	  ESP32_WROVER_E_N16R4
106
107config SOC_ESP32_WROVER_E_N4R8
108	bool
109	select SOC_ESP32
110	help
111	  ESP32_WROVER_E_N4R8
112
113config SOC_ESP32_WROVER_E_N8R8
114	bool
115	select SOC_ESP32
116	help
117	  ESP32_WROVER_E_N8R8
118
119config SOC_ESP32_WROVER_E_N16R8
120	bool
121	select SOC_ESP32
122	help
123	  ESP32_WROVER_E_N16R8
124
125config SOC_ESP32
126	bool
127	select SOC_SERIES_ESP32
128	help
129	  ESP32
130
131config SOC_ESP32_PROCPU
132	bool
133	help
134	  This hidden configuration defines that build is targeted for PROCPU (core 0).
135
136config SOC_ESP32_APPCPU
137	bool
138	help
139	  This hidden configuration defines that build is targeted for APPCPU (core 1).
140
141config SOC_SERIES
142	default "esp32" if SOC_SERIES_ESP32
143
144config SOC
145	default "esp32" if SOC_SERIES_ESP32
146
147config SOC_PART_NUMBER
148	default "ESP32_D0WD_V3" if SOC_ESP32_D0WD_V3
149	default "ESP32_D0WDR2_V3" if SOC_ESP32_D0WDR2_V3
150	default "ESP32_U4WDH" if SOC_ESP32_U4WDH
151	default "ESP32_PICO_V3" if SOC_ESP32_PICO_V3
152	default "ESP32_PICO_V3_02" if SOC_ESP32_PICO_V3_02
153	default "ESP32_PICO_D4" if SOC_ESP32_PICO_D4
154	default "ESP32_WROOM_DA_N4" if SOC_ESP32_WROOM_DA_N4
155	default "ESP32_WROOM_DA_N8" if SOC_ESP32_WROOM_DA_N8
156	default "ESP32_WROOM_DA_N16" if SOC_ESP32_WROOM_DA_N16
157	default "ESP32_WROOM_32UE_N4" if SOC_ESP32_WROOM_32UE_N4
158	default "ESP32_WROOM_32UE_N8" if SOC_ESP32_WROOM_32UE_N8
159	default "ESP32_WROOM_32UE_N16" if SOC_ESP32_WROOM_32UE_N16
160	default "ESP32_WROVER_E_N4R2" if SOC_ESP32_WROVER_E_N4R2
161	default "ESP32_WROVER_E_N8R2" if SOC_ESP32_WROVER_E_N8R2
162	default "ESP32_WROVER_E_N16R2" if SOC_ESP32_WROVER_E_N16R2
163	default "ESP32_WROVER_E_N16R4" if SOC_ESP32_WROVER_E_N16R4
164	default "ESP32_WROVER_E_N4R8" if SOC_ESP32_WROVER_E_N4R8
165	default "ESP32_WROVER_E_N8R8" if SOC_ESP32_WROVER_E_N8R8
166	default "ESP32_WROVER_E_N16R8" if SOC_ESP32_WROVER_E_N16R8
167
168config SOC_TOOLCHAIN_NAME
169	string
170	default "espressif_esp32" if SOC_SERIES_ESP32
171