[This might be better placed in the CCS forum, but the Select a forum dropdown does not provide other options.]
We have a product based on the simple peripheral OAD example, using CCS v10.2.0.00009, SDK v5.10.00.02. We have customized the linker command file for the product. The linker command file is in the SDK install directory in C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\common\cc26xx\ccs.
We would like to place the custom file under source control, so would like to move it within the project directory, the first thought being to place it in the TOOLS folder.
After placing the file in the TOOLS folder, and removing the entry from the Build\Arm Linker\File Search Path property, the link fails with these errors:
"../TOOLS/app_oad.cmd", line 257: error #10104: undefined symbol "ICALL_STACK0_START" used in expression "configPkg/linker.cmd", line 613: warning #10096-D: specified address lies outside memory map error #10264: DEFAULT memory range overlaps existing memory range GPRAM error #10264: DEFAULT memory range overlaps existing memory range SRAM "../TOOLS/app_oad.cmd", line 318: error #10099-D: program will not fit into available memory. placement with alignment fails for section "GROUP_3" size 0xd874 . Available memory ranges: FLASH size: 0xffffffffffffff98 unused: 0xffffffffffffff98 max hole: 0xffffffffffffff98 "../TOOLS/app_oad.cmd", line 327: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".cinit" size 0x3a3 . Available memory ranges: FLASH size: 0xffffffffffffff98 unused: 0xffffffffffffff98 max hole: 0xffffffffffffff98 error #10010: errors encountered during linking; "app_oad_offchip_FlashROM_unsecure.out" not built >> Compilation failure makefile:223: recipe for target 'app_oad_offchip_FlashROM_unsecure.out' failed gmake[1]: *** [app_oad_offchip_FlashROM_unsecure.out] Error 1 makefile:216: recipe for target 'all' failed gmake: *** [all] Error 2
The file itself is fine and the firmware builds correctly if the file is left in the SDK install folder. I have not seen any documentation about adjustments that need to be made when moving the linker command file to a different location, and another post where the questioner also mentioned placing the linker command file under source control indicated that placing the file into the project directory was possible.
Any info on what I'm overlooking would be appreciated.