Search found 27 matches

by agonnen
Thu Jan 24, 2019 9:49 am
Forum: ESP32 boards
Topic: High level GUI lib/framework
Replies: 32
Views: 38192

Re: High level GUI lib/framework

Actually I'm testing it with my ESP32 Micropython port which is a fork of MicroPython_ESP32_psRAM_LoBo.
After lvgl release is out, I might take the effort to create a "pure" ESP32 Micropython port with lvgl example, it should be quite easy.
by agonnen
Thu Jan 24, 2019 8:47 am
Forum: ESP32 boards
Topic: High level GUI lib/framework
Replies: 32
Views: 38192

Re: High level GUI lib/framework

Yes.
The plan is to include it as part of lvgl release soon.
by agonnen
Mon Jan 21, 2019 8:25 pm
Forum: ESP32 boards
Topic: High level GUI lib/framework
Replies: 32
Views: 38192

Re: High level GUI lib/framework

There is an effort going to port LittlevGL to Micropython.

Open issue: https://github.com/littlevgl/lvgl/issues/557
Micropython fork (work on progresss): https://github.com/kisvegabor/lv_mpy
by agonnen
Fri Jan 04, 2019 8:58 pm
Forum: Development of MicroPython
Topic: Subclassing native classes
Replies: 3
Views: 4408

Subclassing native classes

I would like to know what is the status of Subclassing native classes in Micropython. Specifically, I have a C library which I expose in Micropython, and would like to subclass its objects in Micropython. The official docs only mention that "Subclassing native classes is not fully supported in Micro...
by agonnen
Fri Dec 21, 2018 2:33 pm
Forum: Development of MicroPython
Topic: Right way of synchronizing C and Micropython
Replies: 4
Views: 4098

Re: Right way of synchronizing C and Micropython

@ I don't fully understand your use case, but usually the right way to protect a C/C++ structure from concurrent access is by using a mutex in your C/C++ code. Use case is any library with MicroPython interface that performs some async work, creates threads, handles interrupts etc. I would expect th...
by agonnen
Fri Dec 14, 2018 9:37 pm
Forum: Development of MicroPython
Topic: Right way of synchronizing C and Micropython
Replies: 4
Views: 4098

Right way of synchronizing C and Micropython

Hi, I'm writing a Micropython module on a multi-threaded platform (ESP32 in this case, but the question is relevant to any other multi-threaded platform). My module maintains a certain state (a C struct). This state can be changed from *both* Micropython extension functions (written in C), and anoth...
by agonnen
Wed Nov 28, 2018 8:44 am
Forum: Development of MicroPython
Topic: [SOLVED]const void * parent (_mp_obj_type_t)
Replies: 6
Views: 4365

Re: [SOLVED]const void * parent (_mp_obj_type_t)

@dhylands can we use `parent` to extend a base class with a sub class (with additional members) when extending Micropython? The other option would be to add all the base's members in each of the child's local-dicts, which is a duplication and bloats the childs. (related: https://github.com/micropyth...