top | item 41691829

(no title)

eblanshey | 1 year ago

I would think the portability of, say, a Python application running on Linux is a nice benefit. Try switching from one MCU to a totally different one and you may have to start from scratch (e.g. try going from Microchip to STM.) Can you describe why embedded Linux is still a slog? And what do you think it would take for the issues to be addressed?

discuss

order

makapuf|1 year ago

I thought we were talking about real-time applications, which I'm not sure Python is (even tuning the GC). But if we're talking about the difficulty of changing MCU families (remember stm32 are >1000 different chips) changing OS is also difficult, even changing from yocto to buildroot can also be a lot of pain on linux.

wongarsu|1 year ago

Doesn't Micropython already get you 95% of the way towards just running the same Python code on multiple MCUs?

eblanshey|1 year ago

I'm not sure, I've never used it. But I think the issue is that the number of MCUs that support micropython is very small.