|
|
@@ -13,7 +13,6 @@ set(includes "include"
|
|
|
"deprecated"
|
|
|
"analog_comparator/include"
|
|
|
"dac/include"
|
|
|
- "gptimer/include"
|
|
|
"i2c/include"
|
|
|
"i2s/include"
|
|
|
"ledc/include"
|
|
|
@@ -66,17 +65,9 @@ if(CONFIG_SOC_PARLIO_SUPPORTED)
|
|
|
list(APPEND srcs "parlio/parlio_common.c" "parlio/parlio_tx.c")
|
|
|
endif()
|
|
|
|
|
|
-# GPTimer related source files
|
|
|
+# GPTimer legacy driver
|
|
|
if(CONFIG_SOC_GPTIMER_SUPPORTED)
|
|
|
- list(APPEND srcs "gptimer/gptimer.c"
|
|
|
- "gptimer/gptimer_priv.c"
|
|
|
- "deprecated/timer_legacy.c")
|
|
|
-
|
|
|
- list(APPEND ldfragments "gptimer/linker.lf")
|
|
|
-endif()
|
|
|
-
|
|
|
-if(CONFIG_SOC_TIMER_SUPPORT_ETM)
|
|
|
- list(APPEND srcs "gptimer/gptimer_etm.c")
|
|
|
+ list(APPEND srcs "deprecated/timer_legacy.c")
|
|
|
endif()
|
|
|
|
|
|
# I2C related source files
|
|
|
@@ -226,7 +217,7 @@ else()
|
|
|
REQUIRES esp_pm esp_ringbuf freertos soc hal esp_hw_support
|
|
|
# for backward compatibility, the driver component needs to
|
|
|
# have a public dependency on other "esp_driver_foo" components
|
|
|
- esp_driver_gpio esp_driver_pcnt
|
|
|
+ esp_driver_gpio esp_driver_pcnt esp_driver_gptimer
|
|
|
LDFRAGMENTS ${ldfragments}
|
|
|
)
|
|
|
endif()
|