mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
refactor(etm): move etm_periph.c to hal component
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -14,6 +14,15 @@
|
||||
#include "soc/soc_etm_struct.h"
|
||||
#include "soc/pcr_struct.h"
|
||||
|
||||
#define ETM_LL_GET(_attr) ETM_LL_ ## _attr
|
||||
#define ETM_LL_SUPPORT(_feat) ETM_LL_SUPPORT_ ## _feat
|
||||
|
||||
// Number of ETM instances
|
||||
#define ETM_LL_INST_NUM 1
|
||||
|
||||
// Number of channels in each ETM instance
|
||||
#define ETM_LL_CHANS_PER_INST 50
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user