cancel
Showing results for 
Search instead for 
Did you mean: 

library-function access on packed text structures

MHase
Associate II

We have discovered that it seems that TouchGfx library functions like "InternalFlashFont::getPixelData" accesses the packed (2 Bytes) text ressources with a unpacked (4 Bytes) access.

This ends up in an misaligned HardFault.

What goes wrong here?

1 REPLY 1
Martin KJELDSEN
Chief III

Which MCU are you running on?

/Martin