• 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...
  • Alignment of variables for Cortex-M0
    Note: This was originally posted on 12th October 2012 at http://forums.arm.com [font=verdana, sans-serif][size=2]Hi guys,[/size][/font] [font=verdana, sans-serif][size=2]I'm currently working with a Cortex...
  • 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 C++ Class
    I'm using uVision4 and C++ with LPC2478 class test { public: char s8; //placed at 0x4002C750 void* cp1; //placed at 0x4002C754 void* cp2; //placed at 0x4002C758 void* cp3; //placed at 0x4002C75C...