-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Overview
Although updating liblvgl is less cumbersome now that it is removed from the kernel, we still need to do the following to update liblvgl:
- Copy all the header files from LVLG's repo to
include/liblvgl - Copy all the source files from LVLG's repo to
src/liblvgl - Update all the includes in the LVGL files to match the PROS project structure
- Update
include/liblvgl/fonts/lv_font.hto include our custom fonts that llemu depends on
My Proposal
Fixing the font issue:
- Store the fonts that llemu depends on in a vector graphics file
- On build, the makefile creates the lvgl font.c files
- The fonts are declared in a new
pros_line.hfile so we don't have to add then to lv_font.h
Automated update script:
The script should not run automatically when LVGL updates, since we want to force someone to make sure everything works and builds properly
These are the things I think the script needs to do:
- Check the latest release tag on LVGL's repo. If we are up to date, do nothing
- Otherwise, clone the repo as a submodule
- Copy all the headers to
include/libvgl - Copy all the c files to
src/liblvgl - Run through all the copied files and update the includes to be absolute and follow the PROS project structure.
Metadata
Metadata
Assignees
Labels
No labels