RTEMS | MicroPython GPIO support and RTEMS sysctl access (#5530)

Amar Takhar (@amar) gitlab at rtems.org
Thu Mar 19 21:47:25 UTC 2026



Amar Takhar created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5530



<!--Use this template for project descriptions that are intended
to be shown at https://projects.rtems.org/

Set the project::<size> label to make it appear in the list.
Set the gsoc and the gsoc::<size> label to make it appear in the
GSoC Ideas List-->

## Summary

<!--Provide background information about the project idea.-->

In GSoC 2025 a MicroPython port was completed it is located here:

* https://gitlab.rtems.org/rtems/contrib/micropython/-/tree/rtems/ports/rtems

This project will entail adding GPIO access to MicroPython running within RTEMS.  The target hardware should be RP4 as this is our most widely supported BSP with GPIO access.

A completed project will demonstrate using a MicroPython library to control an external sensor or device via GPIO

The second portion is to connect RTEMS sysctls to allow for modification from within MicroPython.  This isn't limited to sysctls but other tunables within RTEMS that may be useful to access from within RTEMS.

## Approach

<!--Describe the general techniques to use to complete the project.-->

The only approach here is to look at how other ports have done this and see what would be a best-fit for RTEMS

## Knowledge/Skills

<!--add the programming languages or other technical skills needed.-->

General C knowledge with python.  You do not need to know Python that well.

## Possible Mentors

<!--List/tag mentors here-->

@chris @amar

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5530
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260319/40773a2b/attachment.htm>


More information about the bugs mailing list