2019-01-07 23:42:54 +08:00
|
|
|
:name: Mi-V
|
|
|
|
:description: This script is prepared to run Zephyr on a Mi-V RISC-V board.
|
|
|
|
|
|
|
|
$name?="Mi-V"
|
|
|
|
|
|
|
|
using sysbus
|
|
|
|
mach create $name
|
|
|
|
machine LoadPlatformDescription @platforms/boards/miv-board.repl
|
|
|
|
|
|
|
|
showAnalyzer uart
|
2019-02-22 23:21:52 +08:00
|
|
|
cpu PerformanceInMips 80
|
2019-01-07 23:42:54 +08:00
|
|
|
|
|
|
|
macro reset
|
|
|
|
"""
|
|
|
|
sysbus LoadELF $bin
|
|
|
|
"""
|
|
|
|
runMacro $reset
|