mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
24 lines
476 B
Plaintext
24 lines
476 B
Plaintext
|
:name: SiFive-FE310
|
||
|
:description: This script runs the Sifive Hifive1 on RIOT.
|
||
|
|
||
|
$name?="SiFive-FE310"
|
||
|
|
||
|
using sysbus
|
||
|
mach create $name
|
||
|
machine LoadPlatformDescription @platforms/cpus/sifive-fe310.repl
|
||
|
|
||
|
showAnalyzer uart0
|
||
|
|
||
|
cpu PerformanceInMips 320
|
||
|
|
||
|
sysbus Tag <0x10008000 4> "PRCI_HFROSCCFG" 0xFFFFFFFF
|
||
|
sysbus Tag <0x10008004 4> "PRCI_HFXOSCCFG" 0xFFFFFFFF
|
||
|
sysbus Tag <0x10008008 4> "PRCI_PLLCFG" 0xFFFFFFFF
|
||
|
|
||
|
macro reset
|
||
|
"""
|
||
|
sysbus LoadELF $image_file
|
||
|
"""
|
||
|
|
||
|
runMacro $reset
|