• Global variable alignment
    Note: This was originally posted on 13th January 2011 at http://forums.arm.com Hi, I am working with RealView Compilation Tools v2.1.  I need to align a static global variable on a 16-byte boundary. ...
  • Problem with alignment of variable in memory
    I'm using an AT91SAM7 uC and have inherited some C code which is giving me fits. When I run this code I get a data abort error. I've tracked down the offending line of code, and it appears to be caused...
  • Memory Alignment - Cortex-R5
    Hello, I am trying to compile a very simple code that uses the function "aligned_alloc", using ARM Toolchain "gcc-arm-none-eabi-7" but every time I am receiving the error bellow user@laptop:~/Downloads...
  • array alignment
    Hi there, I am using Keil to work on my ADuCM360 project. Is there a way to force a byte array to be word aligned? such as #pragma pack (2) from Microsoft? Thanks for your help!
  • Byte Alignment
    hi there, I am using Keil µVision 4 with NXP LPC11U35. I want to load a structure that contains mix type of variables (chars, integers, longs) using a char pointer. How can I set byte alignment so...