这个错误信息表明,在项目中使用的 lv_color_16_swap 配置与 SquareLine Studio 的设置不匹配。SquareLine Studio 要求 lv_color_16_swap 必须设置为0。 2. 查找 lv_color_16_swap 的位置 首先,我们需要确定在项目的哪个部分配置了 lv_color_16_swap。这通常可以在以下几种地方找到: 配置文件:
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 boards in Zephyr simply enable this setting if LVGL is enabled, since they as...
While migrating all existing project using lvgl on Nuttx,apache/nuttx#11780, many configurations have enabled CONFIG_LV_COLOR_16_SWAP. It may be a common issue others will face too. nuttx/boards/risc-v/esp32c3-legacy/esp32c3-devkit/configs/lvgl/defconfig:38:CONFIG_LV_COLOR_16_SWAP=y nut...
#elif LV_COLOR_DEPTH == 16 typedef uint16_t lv_color_int_t; typedef lv_color16_t lv_color_t; #define _LV_COLOR_ZERO_INITIALIZER {{0x00, 0x00, 0x00}} # if LV_COLOR_16_SWAP == 0 # define _LV_COLOR_ZERO_INITIALIZER {{0x00, 0x00, 0x00}} # else # define _LV_COLOR_ZERO...