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:
morris
2026-07-13 15:37:52 +08:00
parent 6ef9a267f1
commit bedeedafec
15 changed files with 104 additions and 103 deletions
@@ -10,7 +10,7 @@
#include "freertos/task.h"
#include "unity.h"
#include "esp_etm.h"
#include "hal/etm_periph.h"
#include "hal/etm_ll.h"
TEST_CASE("etm_channel_install_uninstall", "[etm]")
{