Skip to content

Commit

Permalink
zephyr: Kconfig: Add guard checking for LVGL module
Browse files Browse the repository at this point in the history
Adds a guard to the Kconfig file to prevent generation of LV_* symbols
if the module is not used.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
  • Loading branch information
faxe1008 authored and fabiobaltieri committed Nov 2, 2023
1 parent 8a6a2d1 commit 7c61a4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Kconfig file for LVGL v8.0

if LVGL
menu "LVGL configuration"

# Define CONFIG_LV_CONF_SKIP so we can use LVGL
Expand Down Expand Up @@ -1109,3 +1110,4 @@ menu "LVGL configuration"
endmenu

endmenu
endif

0 comments on commit 7c61a4c

Please sign in to comment.