I searched the docs and this forum and didn't find an answer.
Is doing a build the only way to install the Unix (or MacOS or Windows) Ports?
I can download a firmware for my TinyPico, but don't see that for the other non-hardware ports.
I'm primarily interested in MacOS, but thought I'd ask the question more generally.
Thanks!
-p
Unix (or MacOS or Windows) Port Installation
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: Unix (or MacOS or Windows) Port Installation
Some Linux distributions have packages for MicroPython, which install the Unix port.
For MacOS you could look at homebrew, maybe they have a package for it?
Providing pre-compiled binaries on the MicroPython website for different Linux distributions and MacOS versions and keeping them up-to-date is probably a lot of work, unless you set up a build server to automate it. And since MicroPython is rather easy to compile and doesn't have that many requirements, it's a matter of weighing the effort against the benefits.
For MacOS you could look at homebrew, maybe they have a package for it?
Providing pre-compiled binaries on the MicroPython website for different Linux distributions and MacOS versions and keeping them up-to-date is probably a lot of work, unless you set up a build server to automate it. And since MicroPython is rather easy to compile and doesn't have that many requirements, it's a matter of weighing the effort against the benefits.
Last edited by SpotlightKid on Fri May 15, 2020 9:37 pm, edited 1 time in total.
Re: Unix (or MacOS or Windows) Port Installation
It looks like you can install micropython on MacOS using: That gave me this version:
If you don't have homebrew installed, you can get it here
Code: Select all
brew install micropython
Code: Select all
$ micropython
MicroPython v1.12 on 2020-04-18; darwin version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>>
Re: Unix (or MacOS or Windows) Port Installation
Thanks Dave,
I didn't think to check brew. /*facepalm*/
I'll find a place to add this information to the docs.
If you have a preference for where feel free to tell me though.
Thanks again!
I didn't think to check brew. /*facepalm*/
I'll find a place to add this information to the docs.
If you have a preference for where feel free to tell me though.
Thanks again!
Re: Unix (or MacOS or Windows) Port Installation
Since I'm going document this, if anyone has Windows instructions post those as well.
Cheers!
-p
Cheers!
-p
Re: Unix (or MacOS or Windows) Port Installation
There are no Windows packages I'm aware of (not in chocolatey or scoop). However it might actually be pretty easy to have e.g. the latest build from master available for download from the build system i.e. Appveyor, I'll look into it.