添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
长情的小熊猫  ·  层流_百度百科·  1 年前    · 
冷静的树叶  ·  孙兴慜_百度百科·  1 年前    · 

Unix (or MacOS or Windows) Port Installation

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
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!
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.
Last edited by SpotlightKid on Fri May 15, 2020 9:37 pm, edited 1 time in total.
It looks like you can install micropython on MacOS using:

Code: Select all

brew install micropython
That gave me this version:

Code: Select all

$ micropython
MicroPython v1.12 on 2020-04-18; darwin version
Use Ctrl-D to exit, Ctrl-E for paste mode
If you don't have homebrew installed, you can get it here
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!