refactor(cache): move cache profile counter support to hal

Move the cache profile counter type definitions to hal/cache_types.h so
that
esp_cache_cnt.h can use them without depending on the public soc header
soc/cache_periph.h (which CI rejects as non-public).

The remaining cache_periph.h header and its per-target cache_periph.c
sources
are moved from the soc component into the hal component, with the
sources
organized per target directory as usual for the hal component.

Removes the soc/cache_periph.h dependency from esp_cache_cnt.h and
hal/cache_ll.h by using hal/cache_periph.h instead.
This commit is contained in:
morris
2026-09-11 11:30:29 +02:00
committed by Ivan Grokhotkov
parent 744f11fd63
commit 9e2cd97330
22 changed files with 55 additions and 53 deletions
@@ -9,7 +9,7 @@
#include <stddef.h>
#include <stdio.h>
#include "esp_err.h"
#include "soc/cache_periph.h"
#include "hal/cache_types.h"
#ifdef __cplusplus
extern "C" {