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.

"The input line is too long" with post build command

Other Parts Discussed in Thread: OMAPL138

I add post build command in CCS Version: 5.3.0.00090 as below
"${CG_TOOL_ROOT}/bin/hex6x.exe ${PROJECT_ROOT}/2bintable.cmd ${PROJECT_ROOT}/Debug/c674xfastrts_ccsv4.out -o ${PROJECT_ROOT}/c674xfastrts.bin "

console output error message as below:

C:/CCS/CCSV5_3/ccsv5/utils/bin/gmake --no-print-directory post-build
"C:/CCS/CCSV5_3/ccsv5/tools/compiler/c6000_7.4.1/bin/hex6x.exe C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/2bintable.cmd C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/Debug/c674xfastrts_ccsv4.out -o C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/c674xfastrts.bin "
The input line is too long.
gmake[1]: [post-build] Error 1 (ignored)

no matter I how to modify the command, it always output the same error message. is it a bug, I remember it is OK on a old revision CCSv5.

  • Tony,

    It looks like the quotes are generating the error. Can you try the command without the quotes?

    C:/CCS/CCSV5_3/ccsv5/tools/compiler/c6000_7.4.1/bin/hex6x.exe C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/2bintable.cmd C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/Debug/c674xfastrts_ccsv4.out -o C:/Product/Job/OMAPL138_Resource_Pool/OMAPL138_demo_code/c674xfastrts_ccsv5/c674xfastrts.bin