RTEMS | Implementing MicroPython Support and Packaging It For RTEMS (#22)

Sameer Srivastava (@l1zard) gitlab at rtems.org
Fri Jul 11 19:51:05 UTC 2025




Sameer Srivastava commented: https://gitlab.rtems.org/groups/rtems/-/work_items/22#note_126384


The major update this week is mostly that we now have an initial version of imports using IMFS. There is a make target that creates a tar archive of a python module which is converted into a C source file using `rtems-bin2c`, and the example app loads that using `rtems_tarfs_load`. With some other changes, we are able to `import <modulename>` and `/<modulename>` and `/<modulename>.py` is looked up and loaded by MicroPython.  

This leaves one remaining mid-term deliverable:
- Implementing `time`, `random` and `machine` to be able to get uptime, reset the machine.

which I'm currently looking into. I will be making a blog post over the weekend about imports and my progress with the other modules.

-- 
View it on GitLab: https://gitlab.rtems.org/groups/rtems/-/work_items/22#note_126384
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/20250711/37ce6708/attachment.htm>


More information about the bugs mailing list