Should GCC prevent unaligned memory access on Cortex-M0?
I have some code that's taking a hard fault when trying to do an unaligned access of a 32-bit word. I thought the compiler was supposed to break these types of accesses up to prevent a fault like this. Is there some option I need to specify to make it do this? I'm using Crossworks 3.5.1.
Please sign in to leave a comment.
Comments
0 comments