• How to align a local variable at word-aligned address
    Hi Does anyone know how to force a local variable to be aligned at word address? The DMA transfer needs word-aligned address. Thanks. Joseph
  • 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...
  • 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. ...
  • Realview aligning variables
    Note: This was originally posted on 22nd August 2011 at http://forums.arm.com Hi In Keil RealView is there some compiler or linker command switch that will ensure that all declared variables will be aligned...
  • 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...