Skip to content

YangGangUEFI/LvglPkg

Repository files navigation

LVGL on UEFI Environment.

Build

build -p LvglPkg\LvglPkg.dsc -a X64 -t VS2015x86 -b RELEASE

LvglLib Usage

  1. Include LvglLib like other UEFI Library Class in your UEFI_APPLICATION
  2. In App ENTRY_POINT:
    • Call UefiLvglInit() to do init
    • Call UefiLvglAppRegister (MyApp) to show MyApp
    • Call UefiLvglDeinit() to do deinit, and you may need another code to do clear up for MyApp

Demo

Demo Usage

  1. Download OVMF.fd
  2. Create EfiFiles folder and copy Demo efi binary to it
  3. qemu-system-x86_64.exe -bios OVMF.fd -hda fat:rw:EfiFiles -net none -usb -device usb-mouse -serial file:./log.txt
  4. Boot to UEFI Shell
  5. fs0: then [Enter], DemoName.efi then [Enter]
  6. Press Esc to exit Demo

TODO

  • Absolute Pointer Mouse
  • Simple Pointer Mouse
  • Mouse Wheel
  • Log/Debug Print
  • File System
  • ...

Note

  1. For Edk2 EmulatorPkg user, use the RELEASE build or build LvglPkg/Application/LvglDemoApp.inf in EmulatorPkg.dsc

About

LVGL on UEFI Environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published