Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


stemwin antialiasing color problem

Hi STM32 Users,

I would like to request your help in the following problem. I am using STM32F427VG and HX8357D with FMC controller in 16 bit mode RGB565. I successfully integrated the STemWin library with STM32Cube_FW_F4_V1.7.0. RED and BLUE color were swapped but after using GUICC_M565 it is solved.

in LCDConf_FlexColor_Template.c at function void LCD_X_Config(void)
...
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M565, 0, 0);
...
GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B16);
...

The problem is with the anti-aliased circles (maybe other polygons are involved too). The colors which are used by the library is not correct. Look at the picture: there are Red green and blue circles on red green and blue rectangles. I think the red circle on red background shouldn’t be seen. Attached the picture

https://goo.gl/photos/cq1wQaMWtXFFPwEo9

src:

GUI_SetColor(GUI_RED);
GUI_FillRect(0,0,160,320);
GUI_SetColor(GUI_RED);
GUI_AA_FillCircle(80,80,30);
GUI_SetColor(GUI_GREEN);
GUI_AA_FillCircle(80,160,30);
GUI_SetColor(GUI_BLUE);
GUI_AA_FillCircle(80,240,30);

GUI_SetColor(GUI_GREEN);
GUI_FillRect(160,0,320,320);
GUI_SetColor(GUI_RED);
GUI_AA_FillCircle(240,80,30);
GUI_SetColor(GUI_GREEN);
GUI_AA_FillCircle(240,160,30);
GUI_SetColor(GUI_BLUE);
GUI_AA_FillCircle(240,240,30);


GUI_SetColor(GUI_BLUE);
GUI_FillRect(320,0,480,320);
GUI_SetColor(GUI_RED);
GUI_AA_FillCircle(400,80,30);
GUI_SetColor(GUI_GREEN);
GUI_AA_FillCircle(400,160,30);
GUI_SetColor(GUI_BLUE);
GUI_AA_FillCircle(400,240,30);

Any help would be appreciated

Thank you in advance,
Dave

 

Newest Forum Posts

  1. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  2. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  3. Can't debug by deksnys4life, 2019-12-12 08:16
  4. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  5. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  6. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  7. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  8. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  9. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  10. Compiler change problem by Lucian Pop, 2019-11-20 17:41

Last-Modified Blogs