Where do I get the ffi module/package, a dependancy of _libc

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
salimfadhley
Posts: 22
Joined: Thu Jun 19, 2014 10:18 pm

Where do I get the ffi module/package, a dependancy of _libc

Post by salimfadhley » Sun Oct 19, 2014 11:31 am

I'm trying to use the os module from the micropython-lib. That requires _libc which in turn requires a module called ffi. I couldn't see that module in the micopython-lib, nor does it appear to be a builtin on the version of Micropython I'm currently using.

Where am I supposed to get this component?

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

Re: Where do I get the ffi module/package, a dependancy of _

Post by pfalcon » Sun Oct 19, 2014 11:36 am

I replied to ticket you submitted: https://github.com/micropython/micropython-lib/issues/8 .

os module in micropython-lib is intended for POSIX systems. PyBoard port has its own os module.
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/

Post Reply