STM32 + FreeRTOS + MicroPython, how?
Posted: Mon Jul 11, 2022 9:46 am
Hello!
This is my first post, hopefully it's in the right section of the forum.
I'm trying to make the combo mentioned in the topic name: STM32 (F407 or F746) + FreeRTOS + MicroPython. The goal at the moment is just to get a simple led blinking task run along with MicroPython in it's own task. The minimal working MicroPython is enough.
I have built the minimal port for the F407 DISCO and it works. I also have an STM32CubeIDE project with FreeRTOS and a couple of led blinking tasks working with the board. The problem is how to combine these.
I have read the short embedding guide at https://github.com/micropython/micropyt ... /embedding but I don't understand enough about these things to get it working on my own, so I'm ask for help
I think there are two steps here, and they both are a bit unclear to me:
1. Build MicroPython as a library for the correct MCU (STM32)
2. Include the library correctly into the existing STM32CubeIDE project
All help is greatly appreciated!
P.S. I know that the ESP32 port is made on top of FreeRTOS and I have successfully modified it to get also my own led blinking task running on the ESP32. I also could access it from a simple self-made MicroPython module. So I'm pretty confident that what I'm now trying with STM32 is possible.
This is my first post, hopefully it's in the right section of the forum.
I'm trying to make the combo mentioned in the topic name: STM32 (F407 or F746) + FreeRTOS + MicroPython. The goal at the moment is just to get a simple led blinking task run along with MicroPython in it's own task. The minimal working MicroPython is enough.
I have built the minimal port for the F407 DISCO and it works. I also have an STM32CubeIDE project with FreeRTOS and a couple of led blinking tasks working with the board. The problem is how to combine these.
I have read the short embedding guide at https://github.com/micropython/micropyt ... /embedding but I don't understand enough about these things to get it working on my own, so I'm ask for help
I think there are two steps here, and they both are a bit unclear to me:
1. Build MicroPython as a library for the correct MCU (STM32)
2. Include the library correctly into the existing STM32CubeIDE project
All help is greatly appreciated!
P.S. I know that the ESP32 port is made on top of FreeRTOS and I have successfully modified it to get also my own led blinking task running on the ESP32. I also could access it from a simple self-made MicroPython module. So I'm pretty confident that what I'm now trying with STM32 is possible.