This repository contains examples for Keil Studio that run on the STMicroelectronics NUCLEO-H563ZI.
- Install Keil Studio for VS Code from the VS Code marketplace.
- Clone this Git repository into a VS Code workspace.
- Open the CMSIS View in VS Code and use the ... menu to choose an example via Select Active Solution from workspace.
- The related tools and software packs are downloaded and installed. Review progress with View - Output - CMSIS Solution.
- In the CMSIS view, use the Action buttons to build, load and debug the example on the hardware.
The examples can be explored using the Keil MDK Community edition that is free-to-use for training and evaluation. For evaluation purposes, the open-source variant of Keil RTX is used which offers the similar features as the commercial, safety-certified FuSa RTS. FuSa RTS is part of the Keil MDK Professional edition.
This is a practical demonstration of Arm FuSa RTS process isolation, using a simple traffic light controller to showcase safety classes, MPU zones, and fault handling on Cortex-M devices.
The TrafficLight.csolution.yml safety example contains:
- App/TrafficLight.cproject.yml implements the safety-critical application part using functional safety features of Keil RTX.
This repository contains multiple csolution projects and is configured as a single Git workspace for VS Code. It can be therefore effectively used with the VS Code Git integration via the following files:
- vcpkg-configuration.json is in the workspace root directory and installs the tools for all csolution projects.
- .gitignore excludes files that contain user specific setup, for example
.vscodeand*.cbuild*.yml.
This is a list of the relevant files and directories.
| File/Directory | Content |
|---|---|
| vcpkg-configuration.json | Defines the tools that the Arm Tools Environment Manager installs in VS Code. |
| App | Contains the safety example. |
| .github/workflows | Contains setup for the CI Build and HiL test workflows. |
Use the Issues tab to raise questions or issues.
