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.

CCSTUDIO: Project build

Part Number: CCSTUDIO

I have a project i built from matlab. I made some changes in the cmd file and this works fine on my laptop.

Now i wanted to recreate this project in a new laptop. But it gives me build errors

 

image.png

 

 

these are my linker flags : 

--define=MW_SCHEDULER_PRIORITY=1 --define=MODEL=framework --define=NUMST=1 --define=NCSTATES=0 --define=HAVESTDIO --define=MODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 --define=CLASSIC_INTERFACE=0 --define=ALLOCATIONFCN=0 --define=TID01EQ=0 --define=TERMFCN=1 --define=ONESTEPFCN=1 --define=MAT_FILE=0 --define=MULTI_INSTANCE_CODE=0 --define=INTEGER_CODE=0 --define=MT=0 --define=XCP_CUSTOM_PLATFORM --define=EXTMODE_DISABLE_ARGS_PROCESSING=1 --define=MW_PIL_SCIFIFOLEN=16 --define=CPU1 --define=F2837X_REG_FORMAT --define=MW_F280013x --define=STACK_SIZE=1024 --define=__MW_TARGET_USE_HARDWARE_RESOURCES_H__ --define=RT --define=F2800137 --define=BOOT_FROM_FLASH=1 --abi=coffabi --abi=coffabi -s -v28 -ml --abi=coffabi  --preproc_dependency=$(@:%.obj=%.dep) --preproc_with_compile  --large_memory_model -I$(F28_HEADERS)/include -I$(TI_INCLUDE) -v28 --float_support=fpu32 -ml -DF2800137 -DBOOT_FROM_FLASH=1 --tmu_support=tmu0 --fp_mode=relaxed -z --warn_sections -i"C:/TI/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/TI/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --reread_libs --define=F2800137 --define=BOOT_FROM_FLASH=1 --define=BOOT_USING_BL=0 --rom_model --stack_size=1024 --warn_sections --heap_size=1024 --reread_libs --rom_model --priority -mframework.map

  • I can tell that the linker tries to process the file c2000HardwareTimerConfig.asm as a linker command file.  I cannot explain why that happens.  

    Thanks and regards,

    -George

  • The problem was using comments like these /* */ for multi line comments in my linker command file. Apparently it was carrying over to the next file in queue.

    this is ok : 

    /* This is a single comment */

    This is not : 

    / * multiline comments

    several lines

    line ending * / 

  • Multiple line comments delimited by /* */ are supported.  I'd appreciate if you would change the linker command file back to when this happens ...

    The problem was using comments like these /* */ for multi line comments in my linker command file.

    Then put in a zip file and attach it to your next post.

    Thanks and regards,

    -George