File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,13 @@ if(CONFIG_SOC_SERIES_ESP32)
261
261
../../components/esp_adc/${CONFIG_SOC_SERIES}/adc_cali_line_fitting.c
262
262
../../components/soc/${CONFIG_SOC_SERIES}/adc_periph.c
263
263
)
264
+
265
+ if (CONFIG_ADC_ESP32_DMA )
266
+ zephyr_sources (
267
+ ../../components/hal/adc_hal.c
268
+ ../../components/hal/i2s_hal.c
269
+ )
270
+ endif ()
264
271
endif ()
265
272
266
273
zephyr_link_libraries ("-Wl,--wrap=longjmp" )
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ if(CONFIG_SOC_SERIES_ESP32S2)
233
233
../../components/efuse/${CONFIG_SOC_SERIES}/esp_efuse_rtc_calib.c
234
234
../../components/efuse/${CONFIG_SOC_SERIES}/esp_efuse_rtc_table.c
235
235
)
236
+
237
+ if (CONFIG_ADC_ESP32_DMA )
238
+ zephyr_sources (
239
+ ../../components/hal/adc_hal.c
240
+ )
241
+ endif ()
236
242
endif ()
237
243
238
244
if (CONFIG_PM OR CONFIG_POWEROFF )
You can’t perform that action at this time.
0 commit comments