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 committed Nov 2, 2023
1 parent 8a6a2d1 commit 92b0974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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,5 @@ menu "LVGL configuration"
endmenu

endmenu
endif

0 comments on commit 92b0974

Please sign in to comment.