I've tested STemWin Examples [1] on STM32F429 Discovery with GCC Compiler (EmBlocks 2.30 [2]).
Original configuration is as follow
#define XSIZE_PHYS 240
#define YSIZE_PHYS 320
#if (COLOR_MODE_0 == _CM_ARGB8888)
#define COLOR_CONVERSION_0 GUICC_M8888I
#define DISPLAY_DRIVER_0 GUIDRV_LIN_32
- Without any modification I get the following result
- With GUIDRV_LIN_OSY_32 I get the following result
- With #define YSIZE_PHYS 240 I get the following result
When I set a screen size less than 240px, screen was displayed as expected, but for size is greater than 240px, screen was corrupted as shown in above image. In my case, It seems that STemWin doesn't support the rotation the size greater than 240px.
How to rotate screen for its size greater than 240px. Thanks in advance.
Regards,
Ibrahim
[1]
http://www.emblocks.org/web/downloads-ma…tm32f429i-disco[2]
http://www.emblocks.org/web/