Linker script specifies .TxDescripSection > Memory_B2 but .TxDescripSection ends up in RAM section (LwIP_HTTP_Server_Netcoon_RTOS on STMF767zi)
Hello,
The linker script in the demo example specifies:
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 499K
Memory_B1(xrw) : ORIGIN = 0x2007C000, LENGTH = 0xA0
Memory_B2(xrw) : ORIGIN = 0x2007C0A0, LENGTH = 0xA0
}
/*..*/
{
.ARM.attributes 0 : { *(.ARM.attributes) }
.RxDecripSection (NOLOAD) : { *(.RxDescripSection) } >Memory_B1
.TxDescripSection (NOLOAD) : { *(.DMATxDscrTab_section) } >Memory_B2
}
However, after compile:
So the .RxDescripSection is correctly located in Memory_B1
But it seems that .TxDescripSection does not end up in Memory_B2
I have no clue why the linker seems to discard the spec to relocated TxDescripSection to Memory_B2 (According to RM0410 page 76, locations do exist as SRAM2 in the processor)
Thanks for any advice,
Johi.
