1:description: This script is prepared to run Zephyr on SiFive-FE310 board. 2:name: SiFive-FE310 3 4$name?="SiFive-FE310" 5 6set platform 7""" 8using "platforms/cpus/sifive-fe310.repl" 9 10clint: 11 frequency: 16000000 12""" 13 14using sysbus 15mach create $name 16machine LoadPlatformDescriptionFromString $platform 17 18sysbus Tag <0x10008000 4> "PRCI_HFROSCCFG" 0xFFFFFFFF 19sysbus Tag <0x10008008 4> "PRCI_PLLCFG" 0xFFFFFFFF 20cpu PerformanceInMips 320 21 22showAnalyzer uart0 23 24macro reset 25""" 26 sysbus LoadELF $bin 27""" 28runMacro $reset 29