pycom / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
196 stars 167 forks source link

LVGL #565

Closed wired8 closed 2 years ago

wired8 commented 2 years ago

I have attempted to add the LVGL library to a custom build of both 1.20.2.r4 and 1.20.3.b3 without success.
Device is a FiPy.

When I finally got the firmware to compile and uploaded to device it simply will not boot (no repl). I've attempted to JTAG debug, but can't see what is going on.

I've followed the instructions here:

https://github.com/lvgl/lv_binding_micropython#adding-micropython-bindings-to-a-project

Has anyone had any success in adding LVGL?

wired8 commented 2 years ago

I solved this, turned out to be the total size of the firmware image exceeded 4MB. I needed to alter the partition.csv, and the bootloader code (hardcoded to 4MB). Now have LVGL successfully integrated.