Search found 5 matches
- Wed Mar 16, 2016 8:33 am
- Forum: General Discussion and Questions
- Topic: Cross compiling to arm-linux
- Replies: 7
- Views: 9836
Re: Cross compiling to arm-linux
I do have libffi installed, but I would have thought it shouldn't matter if I am trying to cross-compile for a different target, and using make deplibs to try to satisfy the dependencies. For the finish, referencing https://github.com/micropython/micropython/issues/253, I ran this command which solv...
- Wed Mar 16, 2016 7:24 am
- Forum: General Discussion and Questions
- Topic: Cross compiling to arm-linux
- Replies: 7
- Views: 9836
Cross compiling to arm-linux
I'm trying to cross-compile to use MicroPython on an embedded linux device. Following the instructions on github, on an ubuntu machine i've tried the following: git submodule update --init make CROSS_COMPILE=arm-linux-gnueabihf- deplibs This appears to work, but when I then run: git submodule update...
- Tue Aug 25, 2015 1:36 am
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
- Replies: 114
- Views: 135152
Re: asyncio-like cooperative multitasking framework for uPy
On unix, using uasyncio I am getting strange behaviour for the following code: import sys import uasyncio def echo_input(): print('Received this'+ sys.stdin.readline() ) event_loop = uasyncio.get_event_loop() event_loop.add_reader(sys.stdin.fileno(), echo_input) event_loop.run_forever() This snippet...
- Thu Aug 20, 2015 8:49 pm
- Forum: Programs, Libraries and Tools
- Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
- Replies: 114
- Views: 135152
Re: asyncio-like cooperative multitasking framework for uPy
This may be a silly question, but what's the best way to install uasyncio.core (or indeed any micropython-lib module) on the pyboard?
- Fri Apr 24, 2015 8:21 pm
- Forum: Development of MicroPython
- Topic: Loadable native modules
- Replies: 1
- Views: 2489
Loadable native modules
What is the current status of loadable native modules? I see the example on the github branch 'loadable-native', and it works, but I am lost when it comes to understanding how to go about implementing anything other than the simple add1 function provided. I have existing C code that I would love to ...