From aec5cca15b41d778fb85e95b38a9a552438fec6a Mon Sep 17 00:00:00 2001 From: bluew Date: Fri, 6 Dec 2019 02:22:12 +0100 Subject: [PATCH] Increase maximum number of harts (#429) OpenOCD can't deal with systems that have more than 32 harts. --- src/target/riscv/riscv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv.h b/src/target/riscv/riscv.h index 9d6e39920..afea3ee89 100644 --- a/src/target/riscv/riscv.h +++ b/src/target/riscv/riscv.h @@ -9,7 +9,7 @@ struct riscv_program; #include "jtag/jtag.h" /* The register cache is statically allocated. */ -#define RISCV_MAX_HARTS 32 +#define RISCV_MAX_HARTS 1024 #define RISCV_MAX_REGISTERS 5000 #define RISCV_MAX_TRIGGERS 32 #define RISCV_MAX_HWBPS 16