• 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...
  • 32Byte alignment
    I'm using CARM in uVision3. I have to use the variable which is aligned to 32 byte boundary. For example, ... int Var1, Var2; struct{ char Index[16]; char Bucket[16][32]; }Var_3, Var_4; ....
  • 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...