text/plain
•
528 B
•
14 lines
# ESP-IDF project for ESP32-S3 + ST7735 display
cmake_minimum_required(VERSION 3.16)
# Include parent src/ directory for shared code
set(EXTRA_COMPONENT_DIRS
"${CMAKE_CURRENT_SOURCE_DIR}/../src"
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(moon)
# LVGL's ESP-IDF Kconfig is missing RGB565_SWAPPED, so force-enable it globally.
# Open Issue: https://github.com/lvgl/lvgl/issues/9387 Should be fixed in LVGL 9.4.1
idf_build_set_property(COMPILE_OPTIONS "-DCONFIG_LV_DRAW_SW_SUPPORT_RGB565_SWAPPED=1" APPEND)