Closed obdevel closed 1 year ago
This is an unfortunately known bug in GCC 10.x where there's a case statement that gets invalid assembly generated. The LVGL source is fine, the core is fine, but unfortunately GCC somehow slipped out w/a problem.
Right now if you need this, then see #1294 for a GCC 12 pre-release build.
At some point we will move to GCC 12, but in my experience changing a compiler always uncovers new and wonderfully odd bugs. So it's going to wait for a major release (i.e. 4.x) and not just slipped in as a minor one. I also think as of SDK1.5 there were a couple Pico-SDK issued w/GCC12 that still need to be addressed.
I'm trying to compile the LVGL graphics library and have a compiler error I've never seen before. A google search doesn't throw up anything recent or relevant. I'm compiling for Pico W but this doesn't seem related. The assembler seems to be complaining that the compiler has generated invalid code.
I'm using Bodmer's TFT_eSPI library for the low-level stuff and this works well on its own, but I'd like to try a higher level of abstraction and have access to the LVGL UI widgets.
I have raised an issue with the LVGL project (https://forum.lvgl.io/t/rp2040-and-lvgl/11071/2) with full details but I've received no responses yet (my post is the third one in this thread).
Any thoughts ? I'm happy to try any suggestions.
The error output is: