Skip to main content
ASSAAD.ASSAAD
Associate III
Dec 28, 2017 7:01 AM UTC
Question

STM32F429

Posted on December 28, 2017 at 08:01

Hello 

Sorry for disturb and sorry if its not the right forum to ask this 

we use the example that provded with discovery  stm32f429  DMA2D 

we want to put a bitmap ; but in that example we see that the bitmaps are converted with header to C array ; 

can you suggest a free tool to do that ? 

 this is the function 

BSP_LCD_DrawBitmap(0, 0, (uint8_t *)color2);

thank you 

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    Dec 28, 2017 2:40 PM UTC
    Posted on December 28, 2017 at 15:40

    Things like BMPCVT, BIN2C?

    http://www.emcu.eu/stemwin-tools/

     

    Writing a quick C app that can take binary data and output a C array is something an intern should be able to knock out in 5-10 mins.

    Transcoding bitmaps can be more complicated if the target has specific palette or colour depth requirements, then a better understanding of formats and requirements is needed.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..