• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1:name: SiFive-FE310
2:description: This script runs Zephyr RTOS shell sample on SiFive-FE310 platform.
3
4$name?="SiFive-FE310"
5
6using sysbus
7mach create $name
8machine LoadPlatformDescription @platforms/cpus/sifive-fe310.repl
9
10$bin?=@/workspace/tensorflow/lite/micro/tools/make/gen/riscv32_mcu_riscv32_mcu/bin/micro_speech_test
11
12showAnalyzer uart0 Antmicro.Renode.Analyzers.LoggingUartAnalyzer
13logFile @/tmp/renode_riscv_log.txt
14
15sysbus LoadELF $bin
16
17sysbus Tag <0x10008000 4> "PRCI_HFROSCCFG" 0xFFFFFFFF
18sysbus Tag <0x10008008 4> "PRCI_PLLCFG" 0xFFFFFFFF
19
20cpu PerformanceInMips 320
21