purduesigbots / liblvgl

2 stars 3 forks source link

Script to automatically pull LVGL updates #34

Open Richard-Stump opened 1 year ago

Richard-Stump commented 1 year ago

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:

My Proposal

Fixing the font issue:

1) Store the fonts that llemu depends on in a vector graphics file 2) On build, the makefile creates the lvgl font.c files 3) The fonts are declared in a new pros_line.h file 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: 1) Check the latest release tag on LVGL's repo. If we are up to date, do nothing 2) Otherwise, clone the repo as a submodule 3) Copy all the headers to include/libvgl 4) Copy all the c files to src/liblvgl 5) Run through all the copied files and update the includes to be absolute and follow the PROS project structure.