Edge AI & Software, Cloud Systems

Renode simulation of Zephyr on nRF52840

This repository contains a script and test suite to simulate Zephyr on Cortex-M nRF52840 SoC in Renode.


Contributors
3

Created
4 years ago

License
Apache-2.0

Languages

Robot Framework test(25.54%)
shell(22.71%)
Renode platform(21.79%)
markdown(14.33%)
Others(15.63%)

Renode simulation of Zephyr on nRF52840

Copyright (c) 2021 Antmicro

This repository contains a script and test suite to simulate Zephyr on Cortex-M nRF52840 SoC in Renode.

Building

To test it locally, build the latest Renode version from GitHub repository. For build instructions, please refer to documentation.

You can also use one of the pre-built nightly packages.

To build Zephyr samples, run:

./prepare_zephyr.sh
./build_binaries.sh

Please note that the prepare_zephyr.sh script will install build dependencies on your host system.

Usage

To start the simulation, run the following in Renode:

(monitor) s @nrf52840.resc

This will run a Zephyr shell sample bundled with Zephyr source-code on nRF52840 in Renode.

To run sample test cases, run the following command in your console:

path-to/renode/renode-test nrf52840.robot

or fork this project and observe results in GitHub Actions CI workflow.

Running the simulation

You should be greeted with the following prompt on UART:

uart:~$

You can list all available commands using the help command.

Relevant projects

Nothing found

Apologies, but no results were found.

If you’d like to build a commercial product based on our open source solutions, reach out to us via the contact form.