The KConfigLV_COLOR_SWAP_16is defined to depend onLV_COLOR_DEPTH_16within LVGL itself:https://github.com/zephyrproject-rtos/lvgl/blob/a76caad0aa99838bb7a3315aaaf07e50d595c284/Kconfig#L40 However, many shields or
这个错误信息表明,在项目中使用的 lv_color_16_swap 配置与 SquareLine Studio 的设置不匹配。SquareLine Studio 要求 lv_color_16_swap 必须设置为0。 2. 查找 lv_color_16_swap 的位置 首先,我们需要确定在项目的哪个部分配置了 lv_color_16_swap。这通常可以在以下几种地方找到: 配置文件:如 lv_conf.h...
Add equivalent configuration optionCONFIG_LV_COLOR_16_SW_SWAPthat does the swap by software just beforeflush_cbby callinglv_draw_sw_rgb565_swap. Update existing configuration to useCONFIG_LV_COLOR_16_SW_SWAPinstead. Mainly for backward compatibility. WithoutCONFIG_LV_COLOR_16_SW_SWAP, those listed...
# if LV_COLOR_16_SWAP == 0 # define _LV_COLOR_ZERO_INITIALIZER {{0x00, 0x00, 0x00}} # else # define _LV_COLOR_ZERO_INITIALIZER {{0x00, 0x00, 0x00, 0x00}} # endif #elif LV_COLOR_DEPTH == 32 typedef uint32_t lv_color_int_t; typedef lv_color32_t lv_color_t; 0 comme...