Grayscale quantization and fixing some defaults to support rgb565
This commit is contained in:
@@ -33,9 +33,10 @@ CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
|
||||
# LVGL Configuration
|
||||
CONFIG_LV_COLOR_DEPTH_8=y
|
||||
CONFIG_LV_COLOR_DEPTH_16=y
|
||||
CONFIG_LV_USE_SYSMON=n
|
||||
CONFIG_LV_USE_OBJ_NAME=y
|
||||
CONFIG_LV_ATTRIBUTE_FAST_MEM_USE_IRAM=y
|
||||
|
||||
# LVGL Memory Allocator (Use ESP-IDF Heap instead of internal 64kB BSS pool!)
|
||||
CONFIG_LV_USE_BUILTIN_MALLOC=n
|
||||
@@ -51,19 +52,19 @@ CONFIG_LV_BUILD_EXAMPLES=n
|
||||
CONFIG_LV_BUILD_DEMOS=n
|
||||
|
||||
# Disable unused software drawing color formats (Only L8 and A8 matter for grayscale)
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_RGB565=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_RGB565=y
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_RGB565A8=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_RGB888=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_XRGB8888=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_ARGB8888=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_ARGB8888_PREMULTIPLIED=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_L8=y
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_L8=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_AL88=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_A8=y
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_A8=n
|
||||
CONFIG_LV_DRAW_SW_SUPPORT_I1=n
|
||||
|
||||
# Disable complex drawing features to save memory (no shadows, no complex gradients)
|
||||
CONFIG_LV_DRAW_SW_COMPLEX=n
|
||||
# Enable complex drawing features (required for lines thicker than 1px, rounded lines, arcs, and gradients)
|
||||
CONFIG_LV_DRAW_SW_COMPLEX=y
|
||||
|
||||
# Disable unneeded widgets for a simple static screen generator
|
||||
CONFIG_LV_USE_CHART=n
|
||||
|
||||
Reference in New Issue
Block a user