Hi,
We are working with STM32F4 MCU and Sitronix ST7789V driver for a TFT display (of 240*320 px).
We plan to use STemWin to make the GUI and we need to rotate the display by 90° (from 240*320 to 320*240).
As we have other tasks done by the MCU, we want to use the DMA to copy the frame from the MCU to the screen RAM. However, as the screen is rotated, we don't want the DMA to increment 240 by 240 to copy the pixels but to increment one by one.
So our question is : does the STemwin library allow it ? And what do we have to add in addition to the GUI_MIRROR_/GUI_SWAP_ config ?
Thanks a lot for your help,
Marc
We are working with STM32F4 MCU and Sitronix ST7789V driver for a TFT display (of 240*320 px).
We plan to use STemWin to make the GUI and we need to rotate the display by 90° (from 240*320 to 320*240).
As we have other tasks done by the MCU, we want to use the DMA to copy the frame from the MCU to the screen RAM. However, as the screen is rotated, we don't want the DMA to increment 240 by 240 to copy the pixels but to increment one by one.
So our question is : does the STemwin library allow it ? And what do we have to add in addition to the GUI_MIRROR_/GUI_SWAP_ config ?
Thanks a lot for your help,
Marc