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

Sameer Srivastava (@l1zard) gitlab at rtems.org
Fri May 23 18:28:13 UTC 2025




Sameer Srivastava commented: https://gitlab.rtems.org/groups/rtems/-/epics/22#note_122872


from the Zephyr port so far I see these major steps to get to a REPL

- `mp_hal_init()` only initializes a signal called "wait_signal", not sure what's going on there
- initialize micropython stack and heap
- run `pyexec_friendly_repl()` in a loop

this needs implementations for `mp_hal_stdout_tx_str` and `mp_hal_stdin_rx_chr`

also mirrors what's mentioned in the [MicroPython docs on Porting](https://docs.micropython.org/en/latest/develop/porting.html)

-- 
View it on GitLab: https://gitlab.rtems.org/groups/rtems/-/epics/22#note_122872
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/20250523/a1824fce/attachment.htm>


More information about the bugs mailing list