Copyright (c) 2021 Antmicro
This repository contains a script and test suite to simulate Zephyr on Cortex-M nRF52840 SoC in Renode.
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.
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.
You should be greeted with the following prompt on UART:
uart:~$
You can list all available commands using the help
command.