Search found 1155 matches
- Fri Mar 08, 2019 10:14 pm
- Forum: Development of MicroPython
- Topic: Custom port A9G module: help wanted
- Replies: 38
- Views: 30533
Re: Custom port A9G module: help wanted
more conventional ways of implementing this There's a more conventional way to do it, it's: avoid callbacks at all costs. Callbacks are available in a small part of MicroPython API dedicated to baremetal to show that MicroPython can do anything. But beyond that "yes, we can", callbacks don't scale,...
- Fri Mar 08, 2019 10:05 pm
- Forum: Development of MicroPython
- Topic: Understanding Inside of Micropython
- Replies: 3
- Views: 3064
Re: Understanding Inside of Micropython
MicroPython VM works in the same way as any other VM. And there're tons of documentation about how VMs work generated by this civilization. Once you know those, particular details are indeed can be looked up on spot in the source code.
- Sat Mar 02, 2019 3:14 pm
- Forum: Other Boards
- Topic: MicroPython port to FRDM-KW41Z (NXP)
- Replies: 1
- Views: 2444
Re: MicroPython port to FRDM-KW41Z (NXP)
MicroPython Zephyr RTOS port supports FRDM-KW41Z and 150 other boards.
- Sat Mar 02, 2019 12:39 pm
- Forum: General Discussion and Questions
- Topic: Awesome MicroPython list, pfalcon's version
- Replies: 8
- Views: 11984
Re: Awesome MicroPython list, pfalcon's version
Just as an update, the list is maintained and slowly progresses. I actually have a lot of unsorted links in the backlog, just busy with hacking on exciting things which were long in my TODO, e.g. viewtopic.php?f=15&t=5994
- Fri Feb 22, 2019 10:31 pm
- Forum: Programs, Libraries and Tools
- Topic: Generating machine code at runtime with MicroPython (sometimes called JIT)
- Replies: 3
- Views: 3421
Re: Generating machine code at runtime with MicroPython (sometimes called JIT)
Further development along those lines includes LLVM bindings for MicroPython: viewtopic.php?f=15&t=5994
- Fri Feb 22, 2019 10:28 pm
- Forum: Programs, Libraries and Tools
- Topic: ullvm - LLVM C API bindings for MicroPython (and CPython)
- Replies: 0
- Views: 2579
ullvm - LLVM C API bindings for MicroPython (and CPython)
https://github.com/pfalcon/ullvm/ is a project to provide LLVM bindings for MicroPython (via LLVM's C API, and MicroPython's ffi module). Current examples include JITing a simple expression using both older MCJIT and latest ORC JIT LLVM APIs. The module/samples also work with CPython, thanks to CPyt...
- Fri Feb 22, 2019 10:24 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython stubs for linting
- Replies: 3
- Views: 8143
Re: micropython stubs for linting
micropython-lib includes a WIP "typing" module, which was initially contributed, and which I slowly elaborate since then: https://github.com/pfalcon/micropython-lib/tree/master/typing . So, beginnings of typing annotation is there, and interested parties would be able to work on actual typing stubs ...
- Fri Feb 22, 2019 5:39 am
- Forum: Programs, Libraries and Tools
- Topic: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib
- Replies: 4
- Views: 4642
Re: Bytecode manipulation infrastructure for MicroPython - modules opcode, dis, mpylib
To mpylib, support for assembling bytecode instruction by instruction was added:
https://github.com/pfalcon/micropython- ... ite_mpy.py
https://github.com/pfalcon/micropython- ... ite_mpy.py
- Fri Feb 22, 2019 5:36 am
- Forum: Programs, Libraries and Tools
- Topic: micropython-lib project: CPython backports
- Replies: 5
- Views: 7132
Re: micropython-lib project: CPython backports
Initial backports of "ffi" and "uctypes" modules are available. Functionality is enough to e.g. run ffi_example.py from MicroPython distro: $ pip3 install --user micropython-cpython-ffi $ pip3 install --user micropython-cpython-uctypes $ cd micropython/examples/unix $ python3 ffi_example.py libc: <f...
- Tue Feb 19, 2019 3:06 pm
- Forum: Programs, Libraries and Tools
- Topic: micropython-lib - "distributed" uPython standard library
- Replies: 30
- Views: 220812
Re: Problem with uaiohttpclient run witl pycopy
That's why https://github.com/micropython/micropython/pull/3391 exists.eltomek wrote: ↑Tue Feb 12, 2019 9:38 pmCode: Select all
File "/home/tomek/.micropython/lib/datetime.py", line 1836, in _create AttributeError: type object 'tzinfo' has no attribute '__new__'