LVGL on UEFI Environment.
build -p LvglPkg\LvglPkg.dsc -a X64 -t VS2015x86 -b RELEASE
- Include LvglLib like other UEFI Library Class in your UEFI_APPLICATION
- In App ENTRY_POINT:
- Call
UefiLvglInit()
to do init - Call
UefiLvglAppRegister (MyApp)
to showMyApp
- Call
UefiLvglDeinit()
to do deinit, and you may need another code to do clear up forMyApp
- Call
- Download OVMF.fd
- Create EfiFiles folder and copy Demo efi binary to it
- qemu-system-x86_64.exe -bios OVMF.fd -hda fat:rw:EfiFiles -net none -usb -device usb-mouse -serial file:./log.txt
- Boot to UEFI Shell
fs0:
then [Enter],DemoName.efi
then [Enter]- Press
Esc
to exit Demo
- Absolute Pointer Mouse
- Simple Pointer Mouse
- Mouse Wheel
- Log/Debug Print
- File System
- ...
- For Edk2 EmulatorPkg user, use the RELEASE build or build LvglPkg/Application/LvglDemoApp.inf in EmulatorPkg.dsc