How to Program MicroPython on embedded system?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Peter9090
Posts: 2
Joined: Fri Jun 19, 2020 6:18 am

How to Program MicroPython on embedded system?

Post by Peter9090 » Wed Jul 15, 2020 8:57 am

How to Program MicroPython on an embedded system?

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

Re: How to Program MicroPython on embedded system?

Post by jimmo » Thu Jul 16, 2020 1:45 am

Peter9090 wrote:
Wed Jul 15, 2020 8:57 am
How to Program MicroPython on an embedded system?
Can you provide more information about what you're trying to do?

What sort of embedded system (Cortex M, Raspberry Pi, embedded Linux, etc), what do you mean by "program micropython" (i.e. build/flash firmware, write python code, etc).

Peter9090
Posts: 2
Joined: Fri Jun 19, 2020 6:18 am

Re: How to Program MicroPython on embedded system?

Post by Peter9090 » Thu Jul 16, 2020 2:09 am

Thank You Jimmo.

Traditionally, embedded system(operating system) development is more likely to use C / C++. MicroPython is normally used for testing/ Prototyping, as MicroPython is gaining popularity and it is easy to master, so I am thinking about if programming C language on an embedded system is not available for average developers, how about program MicroPython on embedded system?

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

Re: How to Program MicroPython on embedded system?

Post by jimmo » Thu Jul 16, 2020 3:50 am

Yes, you can absolutely use MicroPython for more than just testing/prototyping, right up to building real products. There are many examples of companies doing exactly this.

One of the main limitations I'm aware of is if locking down access to the firmware is important (i.e. to prevent people being able to access your source code), but depending on your target architecture and design this might not be an issue.

superace
Posts: 10
Joined: Thu Jan 17, 2019 1:57 am

Re: How to Program MicroPython on embedded system?

Post by superace » Thu Jul 16, 2020 8:08 am

Micropython is brilliant for embedded solutions. Specially for custom made things where you use standard modules and "just" tweak them.
My company is using C or PicBasic Pro for embedded solutions for our main product lines and Micropython for the IOT part. The ESP32 and ESP8266 modules are super easy to use with Micropython. For quick proof of concepts and prototypes Micropython wins every time, fast easy and super powerful.

Jimmo is totally correct, the security part is not that secure (not at all more or less) but in an open source company that is less of a problem. For more security Epoxy is your friend :) It will never be possible to get 100% security, you can just make them work more or less for it.

Post Reply