luckfox

Luckfox Pico LVGL example

中文

Test Environment

  • Luckfox Pico Ultra / Luckfox Pico Ultra W (Buildroot System)
  • LF40-480480-ARK / LF40-720720-ARK (Other framebuffer devices may require resolution adjustments)

Compilation

  • Set environment variables:

    export LUCKFOX_SDK_PATH=<path_to_luckfox-pico_sdk>
    

    Note: Use absolute paths.

  • Compile with CMake to obtain the executable:

    mkdir build
    cd build
    cmake ..
    make -j
    

Running

  • Upload the compiled executable luckfox_lvgl_demo to the Luckfox Pico (using adb, ssh, or other methods).
  • Set executable permissions and run:
    chmod a+x luckfox_lvgl_demo
    ./luckfox_lvgl_demo
    

Note

  • Music playback only supports MP3 format. Place the music files in the /music directory, and the program will scan for them upon startup.

Detailed Tutorial

RGB Screen