My next question is when I do rebuild all I get in the code composer build
window, how can I duplicate this from the command line?
[driver.c] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -pdsw225
-fr"C:/home/BlackHawk/example/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28
-@"Debug.lkf" "driver.c"
[module1.c] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -pdsw225
-fr"C:/home/BlackHawk/example/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28
-@"Debug.lkf" "module1.c"
[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
This produces example.out which when written to ram and run returns the expected
output. This is great, but I want to duplicate the compile from the command
line. I've tried quite a variety of things in a little batch file called
go.bat. Several things I've tried actually produce example.out, however
something must not be linked correctly, because the desired output is never
produced from the command line compiled .out.
Suggestions?
go.bat:
@cls
cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
driver.c
cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
module1.c
cl2000 -@ Debug.lkf
@echo off
rem cl2000 -v28 -fr Debug module1.c
rem cl2000 -v28 -fr Debug driver.c -i C:/CCStudio_v3.3/C2000/cgtools/include
rem cl2000 -@ Debug.lkf
@echo off
rem cl2000 -g -pdsw225 -fr Debug -v28 -@ Debug.lkf driver.c
rem cl2000 -g -pdsw225 -fr Debug -v28 -@ Debug.lkf module1.c
rem cl2000 -@ Debug.lkf
@echo off
rem cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
driver.c
rem cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
module1.c
rem cl2000 -@ Debug.lkf
@echo off
rem -i C:/CCStudio_v3.3/C2000/cgtools/include
rem cl2000 -v28 -fr Debug driver.c -@ Debug.lkf -l RAM_CMD.cmd
@echo off
rem cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
driver.c
@echo off
rem cl2000 -g -v28 -ol1 driver.c -z module1.obj -l RAM_CMD.cmd -l Debug.lkf -o
driver
@echo off
rem cl2000 -v28 -@ Debug.lkf driver.c -z module1.obj -o driver
rem cl2000 -g -pdsw225 -ml -v28 module1.c -z driver.obj
rem cl2000 -g -pdsw225 -fr driver.c -z module1.obj
rem cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
driver.c
rem cl2000 -g -pdsw225 -fr Debug -d _DEBUG -d LARGE_MODEL -ml -v28 -@ Debug.lkf
module1.c
rem cl2000 -@ Debug.lkf
rem -i"C:/CCStudio_v3.3/C2000/xdais/include"
rem -i"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include"
rem -i"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/rtdx/include/c2000"
rem -i"C:/CCStudio_v3.3/C2000/cgtools/include"
_____________________________________
command line compile (I think I'm close)
Started by ●July 22, 2009
Reply by ●July 23, 20092009-07-23
Build in command line :
C:\CCStudio_v3.3\cc\bin\timake.exe Myproject.pjt Release -a
that's all !!!
_____________________________________________________________________________________
Alain SALMETOZ | APC by Schneider Electric | IT Business |
Firmware design Engineer senior
Phone: +4 76 18 33 59 ext. 3359 |
Email: a...@mgeups.com | Site: www:apc-mge.com | Address:
140 avenue Jean Kuntzmann, INOVALLEE - Montbonnot St Martin, 38334 Saint
Ismier cedex
*** Please consider the environment before printing this e-mail
_____________________________________
C:\CCStudio_v3.3\cc\bin\timake.exe Myproject.pjt Release -a
that's all !!!
_____________________________________________________________________________________
Alain SALMETOZ | APC by Schneider Electric | IT Business |
Firmware design Engineer senior
Phone: +4 76 18 33 59 ext. 3359 |
Email: a...@mgeups.com | Site: www:apc-mge.com | Address:
140 avenue Jean Kuntzmann, INOVALLEE - Montbonnot St Martin, 38334 Saint
Ismier cedex
*** Please consider the environment before printing this e-mail
_____________________________________