micropython on OSX

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Nico
Posts: 10
Joined: Wed Oct 28, 2015 6:56 am

micropython on OSX

Post by Nico » Sat Nov 14, 2015 9:50 pm

Hi,

I managed to compile and run unix micropython version on OSX for simple usage.
Now then trying to use more advanced feature like asyncio I'm failing because micropython uses epoll select while OSX uses kqueue. I'm not an expert with this technolohy but that's what I understood. Therefore I guess supporting micropython on OSX will require a lot of work to implement kqueue selector.
Not sure I want to deep in this...
Have some of you ever tried this or have an idea of the kind of job this means ?

For now I'll use a Linux VM for running microypthon ...

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: micropython on OSX

Post by pfalcon » Sat Nov 14, 2015 10:16 pm

I've already started to develop implementation using standard POSIX poll(), see https://github.com/micropython/micropyt ... -156486488 .
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Nico
Posts: 10
Joined: Wed Oct 28, 2015 6:56 am

Re: micropython on OSX

Post by Nico » Sun Nov 15, 2015 10:47 am

Hi,

would kqueue be useful for micropython boards or would it only be useful for OSX support ?

Post Reply