mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50: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:
@@ -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]")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user