-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
First usage of pyrenode3 here and I was wondering if there's a nicer way of waiting for Renode to exit cleanly other than the following? Initially, without the WaitForExit, I see the Analyzer pop up for a split second before I guess Python exits and kills everytihng.
from pyrenode3.wrappers import Analyzer, Emulation, Monitor
from Antmicro.Renode import Emulator
from pathlib import Path
import argparse
def run_renode(repl: Path, elf: Path) -> None:
e = Emulation()
zynq = e.add_mach('zynq')
zynq.load_repl(repl)
zynq.load_elf(elf)
Analyzer(zynq.sysbus.uart1).Show()
e.StartAll()
Emulator.WaitForExit()
<snip>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels