I'm attempting to build a test SYS/BIOS application for a C6678 EVM. I've followed the workaround to create a RTSC project in CCS v5.0.3, but my device memory map isn't being used at the link stage. My RTSC platform is set to ti.platforms.evm6678. My generated linker file is BiosTest/Debug/configPkg/package/cfg/BiosTest_pe66.xdl where BiosTest is the project name. In that linker file, the sections are declared:
MEMORY { L2SRAM (RWX) : org = 0x800000, len = 0x80000 MSMCSRAM (RWX) : org = 0xc000000, len = 0x400000 DDR3 : org = 0x80000000, len = 0x20000000 }
But the build isn't using this. The linker command line is:
"C:/Users/adrian/Work/TI/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g --diag_warning=225 --abi=eabi -z -m"BiosTest.map" --warn_sections -i"C:/Users/adrian/Work/TI/ccsv5/tools/compiler/c6000/lib" -i"C:/Users/adrian/Work/TI/ccsv5/tools/compiler/c6000/include" --reread_libs --rom_model -o "BiosTest.out" "./test.obj" -l"C:\Users\adrian\Workspaces\TI\platform_lib_evmc6678l\lib\debug\ti.platform.evm6678l.ae66"
and the sections in the map file are:
MEMORY CONFIGURATION name origin length used unused attr fill ---------------------- -------- --------- -------- -------- ---- -------- NEARRAM 00000001 00007fff 00001378 00006c87 RWIX RAM 00008000 fffffffe 0000e1a0 ffff1e5e RWIX
How do I persuade CCS5 to link a project with a SYS/BIOS configuration?