Is there a tool or environment for running MicroPython on Windows?
I have used PythonWin, which is a very nice tool but it only supports Python 2.7.2.
Naturally, running on Windows would not be a real time solution and cannot support IO operations.
However, it would be a convenient debugging tool for the general logic of your Python code being under development.
MicrPython on Windows
Re: MicrPython on Windows
https://github.com/micropython/micropyt ... ts/windows
That is not necessarily the case. E.g. we use custom modules which are available in MicroPython to control I/O over National Instruments DAQs for instance.Naturally, running on Windows would not be a real time solution and cannot support IO operations.
Re: MicrPython on Windows
Hi stijn, looks promising although currently maybe too much heavy lifting needed, considering my experience. Looking forward to a more readily installable edition.
Re: MicrPython on Windows
You mean you don't want to build yourself but use an executable? That's not yet possible (unless someone provides these builds from their own fork already). There's a PR for it though https://github.com/micropython/micropython/pull/6049
Re: MicrPython on Windows
What about a solution that used Docker? Would that be useful?
It would be much like the python docker instances:
But, naturally, you'd need to grab the MicroPython container:
...and, now that I go looking, I find that this already exists! Thanks to Mitchell Currie who has published the MicroPython unix builds as docker containers. Just use mitchins/micropython-linux from docker hub:
You can see how the containers are built by checking out mitchins/docker-micropython-linux.
It would be much like the python docker instances:
Code: Select all
C:\Work>docker run -ti python:3.8
Python 3.8.10 (default, May 4 2021, 18:50:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Code: Select all
C:\Work>docker run -ti micropython:1.14
MicroPython v1.14-170-78b23c3 on 2021-02-04; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>>
Code: Select all
C:\Users\mst>docker run -ti mitchins/micropython-linux:v1.14
MicroPython v1.14 on 2021-02-03; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>>