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.
Hi,
We are trying to do multiple post build steps after a project. CCS4 doesn't seem to recognize semi-colon after every step. Is there anyway to add multiple post build steps after a CCS4 project?
Thank you for the quick response. Do you know if the above mentioned steps for multiple commands work on CCS4 version 4.1.3? So far it doesn't seem to recognize any of the symbols mentioned in there.
It should work. I just tried it on my 4.1.3 build. What commands are you trying to run and how did you enter the string?
We are trying to run the hex470.exe on multiple .out files and this is the error we have been getting when I try to use & between 2 different commands
>> fatal error: cannot open input file '&.out': No such file or directory
(aborting)
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: [pre-build] Error 1 (ignored)
Could this be because we are using Windows 7 or should it work the same on Windows 7 as XP?
Thanks.
The command we are trying is
..\..\utils\hex470.exe -a -memwidth 8 -o ..\..\utils\icont1.ao ..\..\..\..\icont1\Out\icont1.out & ..\..\utils\hex470.exe -a -memwidth 8 -o ..\..\utils\icont2.ao ..\..\..\..\icont2\Out\icont2.out
We just tried this on a system with XP and it worked for the same version on CCS. Are there any known issues with Windows 7?
Thanks.
Sriram Nagaswamy said:We just tried this on a system with XP and it worked for the same version on CCS. Are there any known issues with Windows 7?
The post build command field simply passes it to the windows command line. So you would have to use whatever syntax that is supported by your OS version (windows 7 in your case). I though that the "&" was supported on windows 7. Someone here tried it out, though using a simpler command. One thing to try is wrap each command in quotes. Another is to put the commands in a *.bat file and call the bat file as the post build step.
ki
Yup we are also thinking of going in the batch file route. It doesn't seem like & is recognized for us in windows 7. Thanks a lot for your prompt replies. I really appreciate it.
Thanks.