STM32F446 FMC SDRAM and linker script
Dear,
For the first time, i use an external SDRAM with the FMC peripheral of the STM32F446.
I succeeded to describe a in the linker script to place specific data in this section.
BUT this section is present in the output file (.hex) when I build my code. Because it's a section with just uninitialized data, this section must not be in the output file.
Maybe I did something wrong ???
In linker script :
XRAM1 (xrw) : ORIGIN = 0xC0000000, LENGTH = 1920K
/* External RAM section */
.xram1 :
{
*(.xram1*);
} >XRAM1In header Cpp file :
class SDRAM
{
public:
....
__attribute__((section(".xram2"))) static u8 sData[10][10][10][10];
....
};I use Atollic as IDE with gcc.
