MicroPython upon Firmware

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
ScottTorres
Posts: 1
Joined: Sun Aug 25, 2019 3:53 pm

MicroPython upon Firmware

Post by ScottTorres » Sun Aug 25, 2019 3:57 pm

I wonder if there is a possibility to use MicroPython as interpreter running on top of the firmware. Idea behind there is a existing firmware (ARM-Cortex M4) which manage all hardware resources (display, buttons, eeprom, motor inverter, etc...) and make them accessible to MicroPython? Or MicroPython is cosntructed to have direct access to all uC/board resources?

User avatar
jimmo
Posts: 810
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: MicroPython upon Firmware

Post by jimmo » Sun Aug 25, 2019 9:51 pm

Yes this is absolutely possible. You can think of MicroPython as a library that you can build into any other program (firmware or even a regular program). Have a look at examples/embedding for an example.

You could also look at the Zephyr port (ports/zephyr) where MicroPython runs on top of an existing RTOS.

Post Reply