feat(etm): add ETM LL and GPIO ETM support on esp32s31

Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
This commit is contained in:
morris
2026-04-07 14:47:36 +08:00
parent 953c40c9aa
commit 43bc8c2fe5
56 changed files with 754 additions and 1268 deletions
@@ -35,10 +35,6 @@ config ESP_ROM_HAS_HAL_SYSTIMER
bool
default y
config ESP_ROM_SYSTIMER_INIT_PATCH
bool
default y
config ESP_ROM_HAS_HEAP_TLSF
bool
default y
@@ -14,7 +14,6 @@
#define ESP_ROM_GET_CLK_FREQ (1) // Get clk frequency with rom function `ets_get_cpu_frequency`
#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver
#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver
#define ESP_ROM_SYSTIMER_INIT_PATCH (1) // ROM version initializes SYSTIMER without ETM
#define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library
#define ESP_ROM_MULTI_HEAP_WALK_PATCH (1) // ROM does not contain the patch of multi_heap_walk()
#define ESP_ROM_HAS_LAYOUT_TABLE (1) // ROM has the layout table