仿真平台内核初版 -tlib库 包含<sparc arm riscv powerPC>
This commit is contained in:
17
scripts/single-node/ambiq-apollo4.resc
Normal file
17
scripts/single-node/ambiq-apollo4.resc
Normal file
@@ -0,0 +1,17 @@
|
||||
:name: Ambiq Apollo 4
|
||||
:description: This script runs the Ambiq Suite's Hello World Uart example on Ambiq Apollo 4.
|
||||
|
||||
using sysbus
|
||||
$name?="Ambiq Apollo 4"
|
||||
mach create $name
|
||||
|
||||
machine LoadPlatformDescription @platforms/cpus/ambiq-apollo4.repl
|
||||
showAnalyzer uart2
|
||||
|
||||
$bin?=@https://dl.antmicro.com/projects/renode/hello_world_uart.axf-s_307536-899c2682fa35d4bf27992bba5a0b5845ae331ba3
|
||||
macro reset
|
||||
"""
|
||||
sysbus LoadELF $bin
|
||||
"""
|
||||
|
||||
runMacro $reset
|
||||
Reference in New Issue
Block a user