tohost is not required in hifive1 env

This commit is contained in:
2023-10-16 13:04:11 +02:00
parent 4c86ddd9fb
commit 619be720d3
3 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@
// Some things missing from the official encoding.h
#define MCAUSE_INT 0x80000000
#define MCAUSE_CAUSE 0x7FFFFFFF
#define USE_TOHOST 1
#include "rtl/const.h"
/****************************************************************************