mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix(etm): add ulp etm ll functions
This commit is contained in:
parent
42bcb84013
commit
9b387caf19
@ -11,6 +11,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "hal/assert.h"
|
#include "hal/assert.h"
|
||||||
#include "hal/misc.h"
|
#include "hal/misc.h"
|
||||||
|
#include "hal/lp_aon_ll.h"
|
||||||
#include "soc/soc_etm_struct.h"
|
#include "soc/soc_etm_struct.h"
|
||||||
#include "soc/pcr_struct.h"
|
#include "soc/pcr_struct.h"
|
||||||
|
|
||||||
@ -112,6 +113,10 @@ static inline void etm_ll_channel_set_task(soc_etm_dev_t *hw, uint32_t chan, uin
|
|||||||
HAL_FORCE_MODIFY_U32_REG_FIELD(hw->channel[chan].tid, chn_task_id, task);
|
HAL_FORCE_MODIFY_U32_REG_FIELD(hw->channel[chan].tid, chn_task_id, task);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define etm_ll_is_lpcore_wakeup_triggered() lp_aon_ll_get_lpcore_etm_wakeup_flag()
|
||||||
|
|
||||||
|
#define etm_ll_clear_lpcore_wakeup_status() lp_aon_ll_clear_lpcore_etm_wakeup_flag()
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -292,8 +292,8 @@
|
|||||||
#define I2S0_TASK_START_TX 140
|
#define I2S0_TASK_START_TX 140
|
||||||
#define I2S0_TASK_STOP_RX 141
|
#define I2S0_TASK_STOP_RX 141
|
||||||
#define I2S0_TASK_STOP_TX 142
|
#define I2S0_TASK_STOP_TX 142
|
||||||
#define ULP_TASK_WAKEUP_CPU 143
|
#define ULP_TASK_WAKEUP_CPU 137
|
||||||
#define ULP_TASK_INT_CPU 144
|
#define ULP_TASK_INT_CPU 138
|
||||||
#define RTC_TASK_START 145
|
#define RTC_TASK_START 145
|
||||||
#define RTC_TASK_STOP 146
|
#define RTC_TASK_STOP 146
|
||||||
#define RTC_TASK_CLR 147
|
#define RTC_TASK_CLR 147
|
||||||
|
@ -3,17 +3,11 @@
|
|||||||
components/ulp/test_apps/lp_core:
|
components/ulp/test_apps/lp_core:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_LP_CORE_SUPPORTED != 1
|
- if: SOC_LP_CORE_SUPPORTED != 1
|
||||||
depends_components:
|
|
||||||
- ulp
|
|
||||||
|
|
||||||
components/ulp/test_apps/ulp_fsm:
|
components/ulp/test_apps/ulp_fsm:
|
||||||
enable:
|
enable:
|
||||||
- if: SOC_ULP_FSM_SUPPORTED == 1
|
- if: SOC_ULP_FSM_SUPPORTED == 1
|
||||||
depends_components:
|
|
||||||
- ulp
|
|
||||||
|
|
||||||
components/ulp/test_apps/ulp_riscv:
|
components/ulp/test_apps/ulp_riscv:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_RISCV_COPROC_SUPPORTED != 1
|
- if: SOC_RISCV_COPROC_SUPPORTED != 1
|
||||||
depends_components:
|
|
||||||
- ulp
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user