devicetree-org / lopper

Other
32 stars 38 forks source link

assists: linker_xlnx: Fix memory assignment to avoid build failure #337

Closed lakshmaiahm closed 4 months ago

lakshmaiahm commented 4 months ago

This commit addresses a build failure in the memory_test application on the ZC706 board with the preset DMA design. The issue arises from the incorrect inclusion of non-RAM memories in the linker script, which causes insufficient memory during the build process.

To resolve this, the logic is updated to only include RAM memories (ps7_ram_0 and ps7_ram_1) by modifying the condition to match '_ram' in the memory names. This ensures that only the appropriate memory regions are assigned, preventing the build failure.

Additionally, support is added for the memory test application for MicroBlaze designs.

onkarharsh commented 4 months ago

Reviewed