Hi, EW team:
I have just ported PXP platform package RGB888 of RT1172 of EW13. There is a color mapping problem now. For example, I defined a rectangle of color #FF0000FF, which is purely red. But when run on board, the colored value is mapped to the blue channel in framebuffer. say pixel[2] = oxFF.
I tried to change the definition of macros such as EW_COLOR_CHANNEL_BIT_OFFSET_RED, EW_COLOR_CHANNEL_BIT_OFFSET_GREEN and EW_COLOR_CHANNEL_BIT_OFFSET_BLUE, which had helped me on this problem in EW11, But it does not work this time.
Please help me see how to remap the color output in a software way.
Thank you.
Best regards.
Stephen