1:description: This script is prepared to run Zephyr on SiFive-FU540 board.
2:name: SiFive-FU540
3
4$name?="SiFive-FU540"
5
6using sysbus
7mach create $name
8
9set platform
10"""
11using "platforms/cpus/sifive-fu540.repl"
12
13l2lim: Memory.MappedMemory @ sysbus 0x08000000
14    size: 0x2000000
15
16clint:
17    frequency: 10000000
18"""
19
20machine LoadPlatformDescriptionFromString $platform
21machine PyDevFromFile @scripts/pydev/flipflop.py 0x10000000 0x100 True
22showAnalyzer uart0
23
24macro reset
25"""
26    sysbus LoadELF $elf
27"""
28runMacro $reset
29