feat(env): make LVGL a Zephyr compatible module (#6460)

This commit is contained in:
Fabian Blatz 2024-07-05 00:16:25 +02:00 committed by GitHub
parent d2658ab723
commit f5443d2fd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 4 deletions

View File

@ -871,7 +871,7 @@ menu "LVGL configuration"
config LV_TXT_BREAK_CHARS
string "Can break (wrap) texts on these chars"
default " ,.;:-_)]}"
default " ,.;:-_)}"
config LV_TXT_LINE_BREAK_LONG_LEN
int "Line break long length"

View File

@ -4,7 +4,7 @@ if(CONFIG_LVGL)
target_include_directories(lvgl INTERFACE ${LVGL_ROOT_DIR})
zephyr_compile_definitions(LV_CONF_KCONFIG_EXTERNAL_INCLUDE=<autoconf.h>)
zephyr_compile_definitions(LV_CONF_KCONFIG_EXTERNAL_INCLUDE=<zephyr/autoconf.h>)
zephyr_library()

View File

@ -1,2 +0,0 @@
build:
cmake: .

3
zephyr/Kconfig Normal file
View File

@ -0,0 +1,3 @@
if LVGL
rsource "../Kconfig"
endif

5
zephyr/module.yml Normal file
View File

@ -0,0 +1,5 @@
# https://docs.zephyrproject.org/latest/guides/modules.html
name: lvgl
build:
cmake-ext: True
kconfig: zephyr/Kconfig