chore(NemaGFX): add missing header, correct the docs, provided HAL is optional (#7174)

This commit is contained in:
Liam
2024-11-06 16:52:51 +01:00
committed by GitHub
parent 9d80bfa780
commit 17d0169e50
7 changed files with 48 additions and 25 deletions

View File

@@ -210,11 +210,16 @@
#define LV_USE_NEMA_GFX 0
#if LV_USE_NEMA_GFX
#define LV_NEMA_GFX_HAL_INCLUDE <stm32u5xx_hal.h>
/** Select which NemaGFX HAL to use. Possible options:
* - LV_NEMA_HAL_CUSTOM
* - LV_NEMA_HAL_STM32 */
#define LV_USE_NEMA_HAL LV_NEMA_HAL_CUSTOM
#if LV_USE_NEMA_HAL == LV_NEMA_HAL_STM32
#define LV_NEMA_STM32_HAL_INCLUDE <stm32u5xx_hal.h>
#endif
/*Enable Vector Graphics Operations. Available only if NemaVG library is present*/
#define LV_USE_NEMA_VG 0
#if LV_USE_NEMA_VG
/*Define application's resolution used for VG related buffer allocation */
#define LV_NEMA_GFX_MAX_RESX 800