feat(hal): Adds hal funcs for cpu.c

This commit is contained in:
Konstantin Kondrashov
2024-03-14 16:21:29 +02:00
parent 0b5a6e33fc
commit 06c28f0ee9
21 changed files with 437 additions and 104 deletions

View File

@@ -323,6 +323,10 @@ config SOC_CPU_HAS_FLEXIBLE_INTC
bool
default y
config SOC_CPU_HAS_CSR_PC
bool
default y
config SOC_CPU_BREAKPOINTS_NUM
int
default 8

View File

@@ -129,6 +129,7 @@
#define SOC_CPU_CORES_NUM (1U)
#define SOC_CPU_INTR_NUM 32
#define SOC_CPU_HAS_FLEXIBLE_INTC 1
#define SOC_CPU_HAS_CSR_PC 1
#define SOC_CPU_BREAKPOINTS_NUM 8
#define SOC_CPU_WATCHPOINTS_NUM 8