Our goal is to start a buffer with alignment of 4 in SDRAM BANK0. How to modify the app.ldf to have a buffer starting with an alignment of 4.
The INPUT_SECTION_ALIGN command affects INPUT_SECTION commands. Instead use the ALIGN(number) command - it aligns the address of the current location counter to the next address that is a multiple of number, where number is a power of 2.
You can also define the buffer in your application C or assembly source to avoid the need for an LDF modification.