feat(esp32h4): add soc register header files (stage2_3)

add soc headers made by hand
This commit is contained in:
Chen Jichang
2025-02-19 16:58:22 +08:00
parent 36335e38b6
commit 62700fa36f
37 changed files with 3170 additions and 85 deletions
@@ -9,7 +9,9 @@
#include <stdint.h>
#include "soc/soc_caps.h"
#if SOC_ASSIST_DEBUG_SUPPORTED
#include "soc/assist_debug_reg.h"
#endif
#include "soc/interrupt_reg.h"
#include "esp_attr.h"
#include "riscv/csr.h"
@@ -405,7 +407,11 @@ FORCE_INLINE_ATTR bool rv_utils_is_trigger_fired(int id)
FORCE_INLINE_ATTR bool rv_utils_dbgr_is_attached(void)
{
#if SOC_ASSIST_DEBUG_SUPPORTED
return REG_GET_BIT(ASSIST_DEBUG_CORE_0_DEBUG_MODE_REG, ASSIST_DEBUG_CORE_0_DEBUG_MODULE_ACTIVE);
#else
return false;
#endif
}
FORCE_INLINE_ATTR void rv_utils_dbgr_break(void)