This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex: support of unaligned data access

Hi

The Cortex-M3 should support unaligned data access to save RAM space without the lost of performances. Is there a possibility to enable this features for an entire project or do I have to use the __packed attribut for each data structure?

Parents
  • to save RAM space without the lost of performances

    But this is not possible (to my knowledge - I never worked with your processor). Have a look at the generated assembly for an unaligned access compared to the same code that uses aligned access.

Reply
  • to save RAM space without the lost of performances

    But this is not possible (to my knowledge - I never worked with your processor). Have a look at the generated assembly for an unaligned access compared to the same code that uses aligned access.

Children