tohost is not required in hifive1 env
This commit is contained in:
2
bare-metal-bsp/env/hifive1/link.lds
vendored
2
bare-metal-bsp/env/hifive1/link.lds
vendored
@ -5,7 +5,7 @@ ENTRY( _start )
|
||||
MEMORY
|
||||
{
|
||||
flash (rxai!w) : ORIGIN = 0x20400000, LENGTH = 512M
|
||||
ram (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 512K
|
||||
ram (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 1M
|
||||
}
|
||||
|
||||
PHDRS
|
||||
|
1
bare-metal-bsp/env/iss/platform.h
vendored
1
bare-metal-bsp/env/iss/platform.h
vendored
@ -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"
|
||||
/****************************************************************************
|
||||
|
Reference in New Issue
Block a user