mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(etm): move ETM retention info from HAL to driver layer
Move soc_etm_retention_desc_t type definition and soc_etm_retention_info data from hal component to esp_hw_support component, following the pattern of other peripheral retention data (e.g. MWDT). - Create esp_private/etm_retention.h with type and extern declaration - Create port/<target>/etm_retention.c for each target with retention data - Remove hal/<target>/etm_periph.c and hal/include/hal/etm_periph.h - Update esp_etm.c to include the new header - Update CMakeLists.txt in both components
This commit is contained in:
@@ -38,7 +38,7 @@ if(NOT esp_tee_build AND NOT BOOTLOADER_BUILD)
|
||||
list(APPEND srcs "color_hal.c")
|
||||
|
||||
if(CONFIG_SOC_ETM_SUPPORTED)
|
||||
list(APPEND srcs "etm_hal.c" "${target}/etm_periph.c")
|
||||
list(APPEND srcs "etm_hal.c")
|
||||
endif()
|
||||
|
||||
if(CONFIG_SOC_MODEM_CLOCK_IS_INDEPENDENT AND CONFIG_SOC_MODEM_CLOCK_SUPPORTED)
|
||||
|
||||
Reference in New Issue
Block a user