Re: [DONE] Bug in STM32F407xG.ld and possibly others
Posted: Sun Nov 23, 2014 7:04 pm
I think you can drop the whole .textalign "workaround" thing and make .data look like this:
Code: Select all
.data ALIGN(4) : ALIGN(4)
{
PROVIDE(_textdata = LOADADDR(.data));
PROVIDE(_data = .);
*(.data)
. = ALIGN(4);
*(.data.*)
. = ALIGN(4);
*(.ramtext)
. = ALIGN(4);
PROVIDE(_edata = .);
} > ram AT > flash