File tree 1 file changed +9
-8
lines changed 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,13 @@ if(NOT BOOTLOADER_BUILD)
179
179
list (APPEND srcs "ds_hal.c" )
180
180
endif ()
181
181
182
+ if (CONFIG_SOC_USB_OTG_SUPPORTED)
183
+ list (APPEND srcs
184
+ "usb_hal.c"
185
+ "usb_dwc_hal.c"
186
+ "usb_phy_hal.c" )
187
+ endif ()
188
+
182
189
if (${target} STREQUAL "esp32" )
183
190
list (APPEND srcs
184
191
"touch_sensor_hal.c"
@@ -190,24 +197,18 @@ if(NOT BOOTLOADER_BUILD)
190
197
list (APPEND srcs
191
198
"spi_flash_hal_gpspi.c"
192
199
"touch_sensor_hal.c"
193
- "usb_hal.c"
194
- "usb_phy_hal.c"
195
200
"xt_wdt_hal.c"
196
201
"esp32s2/cp_dma_hal.c"
197
- "esp32s2/touch_sensor_hal.c"
198
- "usb_dwc_hal.c" )
202
+ "esp32s2/touch_sensor_hal.c" )
199
203
endif ()
200
204
201
205
if (${target} STREQUAL "esp32s3" )
202
206
list (APPEND srcs
203
207
"spi_flash_hal_gpspi.c"
204
208
"touch_sensor_hal.c"
205
- "usb_hal.c"
206
- "usb_phy_hal.c"
207
209
"xt_wdt_hal.c"
208
210
"esp32s3/touch_sensor_hal.c"
209
- "esp32s3/rtc_cntl_hal.c"
210
- "usb_dwc_hal.c" )
211
+ "esp32s3/rtc_cntl_hal.c" )
211
212
endif ()
212
213
213
214
if (${target} STREQUAL "esp32c3" )
You can’t perform that action at this time.
0 commit comments