:description: This script is prepared to run Zephyr on SiFive-FU740 board. | |
:name: SiFive-FU740 | |
$name?="SiFive-FU740" | |
using sysbus | |
mach create $name | |
set platform | |
""" | |
using "platforms/cpus/sifive-fu740.repl" | |
clint: | |
frequency: 10000000 | |
""" | |
machine LoadPlatformDescriptionFromString $platform | |
machine PyDevFromFile @scripts/pydev/flipflop.py 0x10000000 0x100 True | |
showAnalyzer uart0 | |
macro reset | |
""" | |
sysbus LoadELF $bin | |
""" | |
runMacro $reset |