• 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. ...
  • Memory alignment issue with third party library module
    Hi, I am working on STM32G0 micro-controller. In this project, we are using one third party library file(.a file). This library module is allocating one uint32 variable. Once I compile the code with...
  • 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; ....