Search found 4 matches

by mhe
Tue Jul 26, 2022 7:39 am
Forum: Other Boards
Topic: STM32 + FreeRTOS + MicroPython, how?
Replies: 5
Views: 29700

Re: STM32 + FreeRTOS + MicroPython, how?

Turned out it was not so complicated after all.

All I had to do was "make lib CROSS=1" for the minimal port and the result was an a. file that worked fine with the CubeIDE. Now I have a REPL at my DISCO board's UART.

Or is there something I'm missing here?
by mhe
Mon Jul 11, 2022 12:55 pm
Forum: Other Boards
Topic: STM32 + FreeRTOS + MicroPython, how?
Replies: 5
Views: 29700

Re: STM32 + FreeRTOS + MicroPython, how?

The way I would approach this is to forget about STM32 initially and just build a command line program for whatever platform you're using... .. Then what you need to do is adapt Makefile.upylib to use arm-none-eabi-gcc with the necessary flags for your particular chip (i.e. cortex m4 or m7), and th...
by mhe
Mon Jul 11, 2022 11:47 am
Forum: Other Boards
Topic: STM32 + FreeRTOS + MicroPython, how?
Replies: 5
Views: 29700

Re: STM32 + FreeRTOS + MicroPython, how?

Hi Jimmo, thanks for the quick response! I guess the biggest question for me is what should I do to build the library for the STM32 board? What files should I edit and how? I don't think I know how to ask more specific questions :oops: If I get that working, then the rest is probably just tinkering ...
by mhe
Mon Jul 11, 2022 9:46 am
Forum: Other Boards
Topic: STM32 + FreeRTOS + MicroPython, how?
Replies: 5
Views: 29700

STM32 + FreeRTOS + MicroPython, how?

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 m...