Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SafeRTOS support. #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

willson556
Copy link

@willson556 willson556 commented Jan 17, 2024

This PR adds support for Wittenstein High Integrity Systems' SafeRTOS. It has been tested with their ARM Cortex-M7 distribution.

SafeRTOS has a similar API and structure to FreeRTOS but is a re-implementation that achieves functional safety certification.

I copy/pasted the FreeRTOS plug-in and adapted it to SafeRTOS. This seems to be the approach taken with the other RTOS'. If you'd prefer, I could extract a common base class (or utility class) that is shared between the two.

Screenshot:
image

@PhilippHaefele
Copy link
Collaborator

@willson556 Sorry for not responding.

First of all thanks for contributing.
Before looking into code I do have a general point.

We like to have examples on a broadly available Board. Best would be https://www.st.com/en/evaluation-tools/nucleo-f429zi.html . This helps us to do debugging on our own.
Is there an example with instructions available or are you willing to create one?

@willson556
Copy link
Author

No problem, I understand the time to support these projects comes and goes.

Looking at available example projects for SafeRTOS (that can be acquired without paying a license fee) for the STM32 series, it looks like we'd have to go with the STM32F429I-Discovery to get one with GCC support:
image

The demos are distributed without the SafeRTOS source, just header files and pre-compiled static libraries so the toolchain needs to match to avoid issues. I'll get that demo and eval board and see if I can put something together.

@basit-s basit-s mentioned this pull request Jan 29, 2025
@basit-s
Copy link

basit-s commented Jan 29, 2025

Hi willson556, just wondering if you still have plans to provide an example and get SafeRTOS officially supported by this tool. Anything I could help with to push this along? I'd be willing to acquire the eval board + set up the demo and instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants