Skip to main content
MHase
Associate III
Oct 14, 2019 3:00 PM UTC
Question

library-function access on packed text structures

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?

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
Oct 17, 2019 11:01 AM UTC

Which MCU are you running on?

/Martin