feat(env): make LVGL a Zephyr compatible module (#6460)
This commit is contained in:
2
Kconfig
2
Kconfig
@@ -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"
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
build:
|
||||
cmake: .
|
||||
3
zephyr/Kconfig
Normal file
3
zephyr/Kconfig
Normal file
@@ -0,0 +1,3 @@
|
||||
if LVGL
|
||||
rsource "../Kconfig"
|
||||
endif
|
||||
5
zephyr/module.yml
Normal file
5
zephyr/module.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
# https://docs.zephyrproject.org/latest/guides/modules.html
|
||||
name: lvgl
|
||||
build:
|
||||
cmake-ext: True
|
||||
kconfig: zephyr/Kconfig
|
||||
Reference in New Issue
Block a user