Skip to content

Commit ff10a30

Browse files
committed
Enable Exception Logging
1 parent 530a63a commit ff10a30

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

riscv_cpu.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
#error CONFIG_RISCV_MAX_XLEN must be defined
4141
#endif
4242

43-
//#define DUMP_INVALID_MEM_ACCESS
44-
//#define DUMP_MMU_EXCEPTIONS
45-
//#define DUMP_INTERRUPTS
46-
//#define DUMP_INVALID_CSR
47-
//#define DUMP_EXCEPTIONS
48-
//#define DUMP_CSR
49-
//#define CONFIG_LOGFILE
43+
#define DUMP_INVALID_MEM_ACCESS
44+
#define DUMP_MMU_EXCEPTIONS
45+
#define DUMP_INTERRUPTS
46+
#define DUMP_INVALID_CSR
47+
#define DUMP_EXCEPTIONS
48+
#define DUMP_CSR
49+
#define CONFIG_LOGFILE
5050

5151
#include "riscv_cpu_priv.h"
5252

0 commit comments

Comments
 (0)