11# Renode Example
22
33Simple example of how to use [ Renode] ( https://renode.io/ ) together with
4- [ Robot Framework] ( https://robotframework.org/ ) to emulate and test Firmware
4+ [ Robot Framework] ( https://robotframework.org/ ) to emulate and test firmware
55on a host PC without the target hardware.
66
77The project builds for an STM32
88[ NUCLEO-F446RE development board] ( https://www.st.com/en/evaluation-tools/nucleo-f446re.html ) .
9- The default repl (REnode PLatform) file for this board has been modified to
10- include the blue button functionality. Pressing and releasing this button
9+ The default repl (` REnode PLatform ` ) file for this board has been modified to
10+ include the blue user button functionality. Pressing and releasing this button
1111toggles one of the on-board LEDs.
1212
1313## Toolchain
1414
15- - Arm GNU Toolchain 12.2
16- - GNU Make 4.3
15+ - GNU Arm Embedded Toolchain 10-2020-q4-major
16+ - GNU Make 4.2.1
1717- Renode 1.14.0
1818- STM32CubeMX 6.8.1 (* for initial project setup only* )
1919
2020## Building the project
2121
2222After installing the required packages on your machine (consider using the
23- provided ` Dockerfile ` ), you can build the project by running:
23+ provided ` Dockerfile ` together with the
24+ [ Dev Containers extension] ( https://code.visualstudio.com/docs/devcontainers/containers )
25+ for VS Code), you can build the project by running:
2426
2527``` bash
2628cd nucleo-f446re/ButtonLed
@@ -39,6 +41,6 @@ to test for the expected behavior:
3941renode-test tests/test-button.robot
4042```
4143
42- Sample output from GitHub Actions after a successful test:
44+ Sample output from GitHub Actions after the test has run successfully :
4345
4446![ test_success] ( docs/test_success.png )
0 commit comments