Skip to content

antmicro/renode-zephyr-nrf52840

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published