LVGL has been integrated into the M33
SDK, however, the library must be linked into the project. The following steps can
be followed to perform this linking:
- Right click on the project and select "Add Files/Folders..."
- In the "Add Files/Folders" window, select the "+" sign to add the LVGL
library
- From the "Select files/folders" window, change the dropdown from "Select
files to add" to "Select folders to link"
- Then select the base path of the SDK LVGL library by clicking on the "..."
icon near "Path".
- The SDK LVGL library is located at
"C:\ti\mspm33_sdk_XX\source\third_party\lvgl" where "XX" is the
latest SDK version.
- Click "Ok" on the "Select files/folders" window
- Finally, click "Ok" on the "Add Files/Folders" window
- The SDK LVGL library should now be included in the project
The library has the most basic configuration and no low level drivers. To
configure the library for a specific application and add low level drivers for a
specific display, five files must be added to the project and adjusted:
- lv_conf.h: The main
configuration file for LVGL
- lv_port_disp.h: The header
file for the LVGL display driver
- lv_port_disp.c: The source
file for the LVGL display driver
- lv_port_indev.h: The header
file for the LVGL input device driver
- lv_port_indev.c: The source
file for the LVGL input device driver