Page 1 of 1

Starting with LVGL on the luckfox lyra ultra

Posted: 2025-12-29 20:51
by christophe195
Hello,

I recently received my Luckfox Lyra Ultra with WiFi and LCD. So I diligently installed the Ubuntu Mint GUI and got Electron up and running, but unfortunately, the board isn't quite powerful enough for this.

I have some knowledge of LVGL, but from ESP/Arduino, so I started to get an LVGL demo up and running from a blank Ubuntu and continue from there. I followed the tutorial here (https://zhuanlan.zhihu.com/p/1926389036706149353) but I'm stuck. At a certain point, it asks for

Code: Select all

CC = /home/lubancat/Desktop/Luckfox_Lyra_SDK_250311/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc
(in the make file) but I have no idea where to get that from, as I'm currently programming on a Mac.

Is anyone on this board familiar with LVGL and can point me in the right direction so I can continue?

Kind regards, Christophe

Board: https://www.luckfox.com/Luckfox-Lyra-Ultra?ci=624

Re: Starting with LVGL on the luckfox lyra ultra

Posted: 2025-12-30 1:37
by Crocodile
Hello, this cross-compilation tool can be obtained from the prebuilts/gcc/linux-x86 directory within the SDK we provide (downloadable from https://wiki.luckfox.com/Luckfox-Lyra/Download/ ).
This cross-compilation tool is only applicable for x86 platforms. If you are using an M-series MAC, you will need to use Docker and translation tools. You can refer to viewtopic.php?p=5946&hilit=MAC#p5946 for more information.

Re: Starting with LVGL on the luckfox lyra ultra

Posted: 2025-12-30 2:07
by christophe195
Thanks for the information, i'm on a M1 :(

can you please translate the steps? i can not understand the steps after translation with google.