Hello World
A simple sample that prints “Hello World” to the console.
Run locally
You can run the Hello World demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:
pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero hello_world
Run in Colab
You can run this demo instantly on a cloud server in Google Colab by clicking the button below.
UART output
Trace
Download
Shell Module
This demo demonstrates the Zephyr shell submodule, which allows the user to use a console interface to control the operating system.
Run locally
You can run the Shell Module demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:
pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero shell_module
Run in Colab
You can run this demo instantly on a cloud server in Google Colab by clicking the button below.
UART output
Trace
Download
Philosophers
An implementation of a solution to the Dining Philosophers problem which demonstrates the usage of multiple preemptible and cooperative threads of differing priorities, as well as dynamic mutexes and thread sleeping.
Run locally
You can run the Philosophers demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:
pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero philosophers
Run in Colab
You can run this demo instantly on a cloud server in Google Colab by clicking the button below.
UART output
Trace
Download
TensorFlow Lite Micro
This sample TensorFlow application replicates a sine wave and demonstrates the basics of using TensorFlow Lite Micro. The model included with the sample is trained to replicate a sine function and generates x values to print alongside the y values predicted by the model.
Run locally
You can run the TensorFlow Lite Micro demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:
pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero tensorflow_lite_micro
Run in Colab
You can run this demo instantly on a cloud server in Google Colab by clicking the button below.
UART output
Trace
Download
MicroPython
This demo demonstrates the MicroPython Zephyr port by performing arithmetic operations, and by defining and calling simple functions.
Run locally
You can run the MicroPython demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:
pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero micropython
Run in Colab
You can run this demo instantly on a cloud server in Google Colab by clicking the button below.
UART output
Trace
Download
Blinky
A basic sample that blinks an LED forever using the Zephyr GPIO API.