In the Project Explorer, expand the tmr_psled_r5 project.
In the
src
directory, double-clicklscript.ld
to open the linker script for this project.In the linker script in Available Memory Regions, modify the following attributes for psu_r5_ddr_0_MEM_0:
Base Address:
0x70000000
Size:0x10000000
The following figure shows the linker script modification. The following figure is for representation only. Actual memory region might vary in case of isolation settings.
This modification in the linker script ensures that the RPU bare-metal application resides above
0x70000000
base address in the DDR memory, and occupies no more than 256 MB of size.Type Ctrl+S to save the changes.
Modify the BSP to configure UART with UART_1. For more information, see Modifying the hello_sys_a53 Application Source Code.
Click the tmr_psled_r5 project and select Build under the flow tab.
Verify that the application is compiled and linked successfully and that the
tmr_psled_r5.elf
file is generated in thetmr_psled_r5\build
folder.