2015-05-09 05:25 AM
i am using this example stm32cubef4\STM32Cube_FW_F4_V1.5.0\Projects\STM32F429I-Discovery\Demonstrations
i want to change the Icons in the Demo Applicationwhat type of Tool am i required to convert bmp to c fileHere they are using 32 bit formatlike belowstatic GUI_CONST_STORAGE GUI_BITMAP _bmWhiteCircle_6x6 = { 6, /* XSize */ 6, /* YSize */ 24, /* BytesPerLine */ 32, /* BitsPerPixel */ (unsigned char *)acWhiteCircle_6x6, /* Pointer to picture data */ NULL, /* Pointer to palette */ GUI_DRAW_BMP8888};static GUI_CONST_STORAGE unsigned long acWhiteCircle_10x10[] = { 0xFFFFFFFF, 0xFEFFFFFF, 0xBCFFFFFF, 0x51FFFFFF, 0x1AFFFFFF, 0x1AFFFFFF, 0x51FFFFFF, 0xBCFFFFFF, 0xFEFFFFFF, 0xFFFFFFFF, 0xFAFFFFFF, 0x85FFFFFF, 0x07FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x07FFFFFF, 0x85FFFFFF, 0xFAFFFFFF, 0xAEFFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0xAFFFFFFF, 0x4AFFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x4BFFFFFF, 0x1BFFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x17FFFFFF, 0x1BFFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x1AFFFFFF, 0x4AFFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x4AFFFFFF, 0xAFFFFFFF, 0x01FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x01FFFFFF, 0xAEFFFFFF, 0xFAFFFFFF, 0x82FFFFFF, 0x05FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x00FFFFFF, 0x05FFFFFF, 0x82FFFFFF, 0xFAFFFFFF, 0xFFFFFFFF, 0xFDFFFFFF, 0xBAFFFFFF, 0x50FFFFFF, 0x19FFFFFF, 0x19FFFFFF, 0x4FFFFFFF, 0xBAFFFFFF, 0xFDFFFFFF, 0xFFFFFFFF};what are the tools setting required?any documents link?2015-05-10 05:39 AM
Hi kumar,
I'm pretty sure this is generated using a utility that comes with STemWin package. Look in the directory (in the library package) for the utility that does this. On my Linux install this is ~/STM32Cube/Repository/STM32Cube_FW_F4_V1.5.0/Middlewares/ST/STemWin/Software (Where STM32CubeMX installs the libraries) IIRC it puts them in AppData, a hidden user directory on Windows.2015-05-10 08:39 PM
Thanks For reply.
but how can i generate this format GUI_DRAW_BMP8888what setting required?