Skip to content

Commit

Permalink
Enable Exception Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jan 15, 2024
1 parent 530a63a commit ff10a30
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions riscv_cpu.c
Expand Up @@ -40,13 +40,13 @@
#error CONFIG_RISCV_MAX_XLEN must be defined
#endif

//#define DUMP_INVALID_MEM_ACCESS
//#define DUMP_MMU_EXCEPTIONS
//#define DUMP_INTERRUPTS
//#define DUMP_INVALID_CSR
//#define DUMP_EXCEPTIONS
//#define DUMP_CSR
//#define CONFIG_LOGFILE
#define DUMP_INVALID_MEM_ACCESS
#define DUMP_MMU_EXCEPTIONS
#define DUMP_INTERRUPTS
#define DUMP_INVALID_CSR
#define DUMP_EXCEPTIONS
#define DUMP_CSR
#define CONFIG_LOGFILE

#include "riscv_cpu_priv.h"

Expand Down

0 comments on commit ff10a30

Please sign in to comment.