• 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...
  • Binary image 8 byte alignment
    Hi, I' m looking for a way to instruct the keil linker to generate a binary image which size is 8 byte multiple, is there a way to do that? I need this because the bootloader that I'm using require...
  • C++: Aligned byte fields not possible in classes?
    Hi, if I want to define a 4byte aligned char array in C, then I typically would declare: __align(4) char acBuf[20]; In C++, inside a class, this unfortunately fails (Error #328: invalid storage...
  • 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!
  • Alignment of arrays
    Hi guys, I'm currently working with a Cortex-M0 which is incapable of unaligned reads. I have a byte array which is storing a received packet in a certain protocol, the first lot of information...