Dear all,
I would like to know when and why I have to use 0x4 or 0x10 alignment into the lcf file.
Hi
In my experience, not such rule exists to use 0x4 or 0x10 alignments for MCUs. Alignment comes from special memory areas which require such alignment per module request, like the FEC module. For example it states a ALIGN(0x04) at LCF or at source code level to declare packet buffers start address. Or might be because some kind of legacy from MPUs LCF files. Also could come as a way to avoid auto-alignment feature from the DMA controller.
Just giving some ideas, but I guess you'll be fine with a ALIGN(0x4). Anyone else can comment on this one?