This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM Compiler Tools 5.1.5 - How to specify order of structures within a section

Hello,

Is there a way to specify the order of structures within a section without making a super-structure or only using one structure per section?  We're using the same file in two programs and want to ensure the data addressing is the same for both.

Thanks, Charlie Johnston

  • Consider defining the structures in assembly code.  You completely control the order then.  You can learn about the assembly directives to use by inspecting the code generated by the compiler.  Use the option --keep_asm to instruct the compiler to not delete the .asm file.

    Thanks and regards,

    -George