Trouble with Micropython & FreeRTOS on STM32 #12467
Replies: 2 comments
-
@Ger-zal converted this to a discussion. Just for my own curiosity, did GitHub show the new issue template, and the placeholder text for the feature request template?
On the esp32 and cc3200, the vendor SDK is built around FreeRTOS so this is essentially the only way to run MicroPython on them. On STM32 we just run directly (essentially MicroPython is "the OS").
This is what we're trying to address with the "embed" port -- i.e. to embed MicroPython in an existing firmware (and build system). https://github.com/micropython/micropython/tree/master/ports/embed And also worth looking at #11430 This should be enough to run MicroPython in a task, and then you just need to provide bindings to whatever else your firmware does (e.g. access to LEDs or whatever).
It will be very difficult to adapt the STM32 port to the scenario you're describing -- it's really intended to run bare-metal. |
Beta Was this translation helpful? Give feedback.
-
Here are only a few info: https://forum.micropython.org/viewtopic.php?t=12692 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Did anyone succeed in implementing micropython as a task (freertos) ? Because I cant figure it out on my stm32l4x6 ( I saw the esp32 and cc3200).
I Saw many questions on différent forum but no real exemple. I'm trying a basic micropython as task + led blink task.
Can someone share a minimalistic code or changes for the stm32 port ?
Beta Was this translation helpful? Give feedback.
All reactions