renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 82 forks source link

Linker error observed with Arm compiler 6.21 when NetX stack used #362

Open renesas-tam-dinh opened 5 days ago

renesas-tam-dinh commented 5 days ago

Issue

When NetX stack is used on EK-RA2A2, the project will fail to build due to linker error which is related to memory region overlap:

linking... .\script\fsp.scat(94): warning: L6329W: Pattern *(.data) only matches removed unused sections. .\script\fsp.scat: Error: L6221E: Execution region BSS with Execution range [0x20000408,0x200047a4) overlaps with Execution region tz_RAM_C with Execution range [0x20004000,0x20004000). .\script\fsp.scat: Error: L6221E: Execution region BSS with Execution range [0x20000408,0x200047a4) overlaps with Execution region tz_RAM_N with Execution range [0x20004000,0x20004000). Finished: 0 information, 1 warning and 2 error messages.

Workaround

In FSP Configurator, module Azure RTOS NetX Duo Packet Pool, reduce ‘Number of Packets in Pool’ to 14.