This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2640: Build CC2650 for CC2640 has link errors

Part Number: CC2640
Other Parts Discussed in Thread: CC2650, CC2650STK

Tool/software: Code Composer Studio

I can successfully build the CC2650 LaunchpadXL Sensortag app.  I can load and run the app on the Launchpad board.  I want to use on a custom board that uses the CC2640.  I change the processor and when I try to build it, I get the following...

<Linking>
"../cc26x0f128.cmd", line 78: error #10263: FLASH memory range has already been specified
"../cc26x0f128.cmd", line 78: error #10264: FLASH memory range overlaps existing memory range FLASH
"../cc26x0f128.cmd", line 78: error #10264: FLASH memory range overlaps existing memory range FLASH_LAST_PAGE
"../cc26x0f128.cmd", line 80: error #10263: SRAM memory range has already been specified
"../cc26x0f128.cmd", line 80: error #10264: SRAM memory range overlaps existing memory range SRAM
"../cc26x0f128.cmd", line 124: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
"../cc26x0f128.cmd", line 124: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
"../cc26x0f128.cmd", line 124: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
error #10010: errors encountered during linking; "sensortag_cc2650stk_app.out" not built

What setting have I missed?

  • Hi Duane,
    Do you have multiple linker command files in your project? I'm going to guess that changing the device variant added another cmd file

    Thanks
    ki
  • It is the standard sensortag_app. I am building the bim_flash, sensortag_stack and sensortag_app as three components. It builds fine when I select CC2650128 but CC2640128 gives me the error.
  • When you changed the device variant in the project properties, this additional file which didn't exist before likely got added:

    This additional cmd file is conflicting with the existing cmd files in the TOOLS folder. If you remove that newly created cmd file, the project should build as expected.

    Thanks

    ki