1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

boards/hifive1*: add renode configuration

This commit is contained in:
Alexandre Abadie 2020-11-24 08:57:19 +01:00
parent 09defe017f
commit 13d149fe09
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 48 additions and 0 deletions

24
boards/hifive1/dist/board.resc vendored Normal file
View File

@ -0,0 +1,24 @@
: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
start

24
boards/hifive1b/dist/board.resc vendored Normal file
View File

@ -0,0 +1,24 @@
:name: SiFive-FE310
:description: This script runs the Sifive Hifive1b 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
start