If I leave the option “16bit swap” and the generated code protection (LV_COLOR_16_SWAP should be 1 to match SquareLine Studio’s settings), nothing works.
I DON’T want swap, and I have to disable this generated check each time I export.
Let us change this option in project preferences as we want. Any ESP32 board is forcing 16bit swap.
I have the same problem. After each export, I have to comment on this line in ui.c so that the correct colors are displayed on the display screen.
#if LV_COLOR_DEPTH != 16
#error "LV_COLOR_DEPTH should be 16bit to match SquareLine Studio's settings"
#endif
#if LV_COLOR_16_SWAP !=0
// #error "LV_COLOR_16_SWAP should be 0 to match SquareLine Studio's settings"
#endif
Apparently, the developers are not aware that, for example, the TFT_eSPI library does not need LV_COLOR_16_SWAP?