Skip to content

Commit

Permalink
Add OS_SDK_ZEPHYR definition to LVGL
Browse files Browse the repository at this point in the history
This enables us to use it in PXP/VGlite support in LVGL.
(the free rtos define is named OS_SDK_FREE_RTOS)
  • Loading branch information
dberlin authored Mar 8, 2024
1 parent ad7086a commit cb58112
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/lvgl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zephyr_include_directories(include)

zephyr_compile_definitions(LV_CONF_INCLUDE_SIMPLE=1)
zephyr_compile_definitions(LV_CONF_PATH=${CMAKE_CURRENT_SOURCE_DIR}/include/lv_conf.h)
zephyr_library_compile_definitions(OS_SDK_ZEPHYR=1)

zephyr_library_sources(
${LVGL_DIR}/src/core/lv_disp.c
Expand Down

0 comments on commit cb58112

Please sign in to comment.