cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32F429I-Discovery Board stm32cubef4\STM32Cube_FW_F4_V1.5.0\Projects\STM32F429I-Discovery\Demonstrations_ Example

senthil
Associate II
Posted on May 09, 2015 at 14:25

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 Application

what type of Tool am i required to convert bmp to c file

Here they are using 32 bit format

like below

static 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?

2 REPLIES 2
hbarta
Associate II
Posted on May 10, 2015 at 14:39

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.

senthil
Associate II
Posted on May 11, 2015 at 05:39

Thanks For reply.

but how can i generate this format  GUI_DRAW_BMP8888

what setting required?