Incorrect binary size after compilation.
Post-build steps are default:
arm-none-eabi-objcopy -O binary “${BuildArtifactFileBaseName}.elf” “${BuildArtifactFileBaseName}.bin” && arm-none-eabi-size “${BuildArtifactFileName}”
It looks like it is related with variable declarations
ETH_DMADescTypeDef DMARxDscrTabETH_RXBUFNB attribute((section(“.RxDecripSection”)));
I changed it to :
extern ETH_DMADescTypeDef DMARxDscrTabETH_RXBUFNB;
and in linker file I add
DMARxDscrTab = 0x20010000;
and now bin size is correct. When I debug app I can see that array DMARxDscrTab is on the right place (0x20010000).
Im not expert in linker files so not sure if this is correct way to do that.