@@ -172,15 +172,15 @@ if(CONFIG_SOC_SERIES_ESP32C2)
172
172
endif ()
173
173
174
174
if (CONFIG_PM OR CONFIG_POWEROFF )
175
- zephyr_sources (
176
- ../../components/esp_hw_support/sleep_gpio.c
177
- ../../components/esp_hw_support/sleep_event.c
178
- ../../components/driver/gpio/rtc_io.c
179
- ../../components/esp_hw_support/sleep_modem.c
180
- ../../components/hal/rtc_io_hal.c
181
- ../../components/driver/gpio/gpio.c
182
- ../../components/esp_hw_support/sleep_cpu.c
183
- )
175
+ zephyr_sources (
176
+ ../../components/esp_hw_support/sleep_gpio.c
177
+ ../../components/esp_hw_support/sleep_event.c
178
+ ../../components/driver/gpio/rtc_io.c
179
+ ../../components/esp_hw_support/sleep_modem.c
180
+ ../../components/hal/rtc_io_hal.c
181
+ ../../components/driver/gpio/gpio.c
182
+ ../../components/esp_hw_support/sleep_cpu.c
183
+ )
184
184
endif ()
185
185
186
186
zephyr_sources_ifdef (
@@ -220,6 +220,7 @@ if(CONFIG_SOC_SERIES_ESP32C2)
220
220
../../components/esp_hw_support/mac_addr.c
221
221
../../components/esp_hw_support/periph_ctrl.c
222
222
../../components/esp_hw_support/regi2c_ctrl.c
223
+ ../../components/esp_hw_support/sleep_modes.c
223
224
../../components/esp_hw_support/sar_periph_ctrl_common.c
224
225
../../components/esp_hw_support/port/esp_clk_tree_common.c
225
226
../../components/esp_hw_support/port/${CONFIG_SOC_SERIES}/cpu_region_protect.c
@@ -349,10 +350,6 @@ if(CONFIG_SOC_SERIES_ESP32C2)
349
350
../../components/esp_phy/src/phy_common.c
350
351
)
351
352
352
- zephyr_sources (
353
- ../../components/esp_hw_support/sleep_modes.c
354
- )
355
-
356
353
if (CONFIG_ESP32_SW_COEXIST_ENABLE )
357
354
if (CONFIG_BUILD_ONLY_NO_BLOBS )
358
355
zephyr_sources (
0 commit comments