Search found 241 matches

by mattyt
Sun Sep 22, 2019 2:16 am
Forum: General Discussion and Questions
Topic: micropython
Replies: 4
Views: 84

Re: micropython

It'll depend on the specific chip. All of the units with 64KB+ of RAM should be able to happily run MicroPython.
by mattyt
Tue Sep 17, 2019 2:17 pm
Forum: General Discussion and Questions
Topic: Debugger for Micropython
Replies: 13
Views: 2949

Re: Debugger for Micropython

For reference, @stijn is referring to PR 5026.
by mattyt
Sat Sep 07, 2019 2:32 pm
Forum: ESP32 boards
Topic: How to Convert .py to .mpy for ESP32
Replies: 4
Views: 134

Re: How to Convert .py to .mpy for ESP32

mpy-cross is also pip-installable (thanks AndrewL!):

https://pypi.org/project/mpy-cross/
by mattyt
Thu Sep 05, 2019 10:56 pm
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

I am wondering if it is possible to build into the .mpy file something that identifies whether it has port/arch pacific code. Then if an mpy file is called from an in correct port it can through an error. I believe that's possible - and I agree it should be done - but it shouldn't get to that point...
by mattyt
Wed Sep 04, 2019 11:32 pm
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

Yes - this feature is being actively worked on. Damien actually gave a demo of this last week at the Melbourne MicroPython Meetup (an updated version of the video linked earlier in this thread). I don't think the video is online yet though. It's much nicer to use now than those earlier demos. I was...
by mattyt
Tue Sep 03, 2019 12:44 am
Forum: Development of MicroPython
Topic: compiling C modules into loadable shared objects
Replies: 32
Views: 897

Re: compiling C modules into loadable shared objects

Yes - this feature is being actively worked on. Damien actually gave a demo of this last week at the Melbourne MicroPython Meetup (an updated version of the video linked earlier in this thread). I don't think the video is online yet though. It's much nicer to use now than those earlier demos. I was...
by mattyt
Sun Sep 01, 2019 9:23 am
Forum: Development of MicroPython
Topic: C module programming reference
Replies: 19
Views: 779

Re: C module programming reference

There is the MicroPython external C modules documentation...that's about as minimal as you can get. :)

And yes, v923z, this looks great! Thanks for your efforts, it's one of the lesser-known aspects of MicroPython development.
by mattyt
Sat Aug 24, 2019 1:58 pm
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 30
Views: 2665

Re: Displays with driver subclassed from framebuf

The purist in me has always found the derivation from framebuf a bit...awkward.

Wouldn't it be better if the driver contained a framebuf? It's less tightly coupled and describes the relationship more correctly. Doesn't it? What are the benefits of inheritance here?
by mattyt
Tue Aug 13, 2019 1:50 pm
Forum: General Discussion and Questions
Topic: PyCon AU 2019
Replies: 1
Views: 167

PyCon AU 2019

THE Australian event for all things Python, PyCon AU 2019 was a huge success with many diverse and high-quality talks that covered the gamut of Python topics. MicroPython was very well represented with six talks covering our favourite embedded language. All of the 80+ talks were recorded and publis...
by mattyt
Fri Aug 09, 2019 4:34 am
Forum: Other Boards
Topic: Teensy 4.0
Replies: 5
Views: 748

Re: Teensy 4.0

While those are pretty neat boards the Cortex-M7 architecture is very different and targets low-power operations. The M7 ought to be remarkable for its high performance for low power consumption...