Renode
At work, you use Renode to develop IoT products.
Download Renode here.
Afterwards, use the following Renode Script (run.resc
)
emulation CreateServerSocketTerminal 3456 "term"
mach create "hello-node"
machine LoadPlatformDescription @platforms/cpus/nrf52840.repl
connector Connect sysbus.uart0 term
sysbus LoadELF @target/thumbv7em-none-eabihf/release/embedded_world
showAnalyzer sysbus.uart0
s
Start the script via:
cargo build --release # create the binary
renode -e "s @run.resc" # run the script