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.

Export project from CCS with all related files

Other Parts Discussed in Thread: MOTORWARE

I have tried to export my project using Export -> General -> Archive File, this is working, however when I try to import it to clean new workspace files are missing from Motorware and others ..

What is the best way to export everything with all related files ? so I can open it easily without loosing any of the files that are in this project ?

Bottom line I did not suceed to IMPORT and get clean compilation after doing the EXPORT

please help

Thanks,

  • Roee,

    Using the Export to Archive is the best export/import feature we have but it is not going to get all files as there will be items that it is not able to resolve. It would capture sources files that are in motorware that in the project but it would miss header files whose only reference is a #include or libraries that are only there in the build options.

    To be able to transfer a project easily between computers it would have to be created in a portable way. You could handle the 2 cases I mentioned above by having all the search paths to those files use a variable ${MW_HOME} and then you would need to define the value of ${MW_HOME} on each PC. That also means that you would have to install Motorware on each PC.

    Regards,
    John
  • AHA,
    Thanks, I think this is important feature need to add to ccs.
    I am using a lot of SW's in my work as an engineer.
    All of them has this feature to Archive with all needed files included with no additonal installs.
    also CCS while doing the BUILD for sure creates a list of all the files to compile, so I think it should be not so difficult to add this feature to this tool ?, I would give this as feedback to TI
    Thanks
    Roee
  • The closest thing that we would have to this today would be the linker map file that is generated as part of the build. It would list all the .obj files (1 to 1 mapping with the .c files) as well as any libraries. Unfortunately it would not list the .h files. We would have to create a new tool to pull everything together. I can log a request for this.

    The best thing to do is to have the project and all the necessary files in a source control repository. That way you can easily replicate the environment on any PC with ease. Even if not sharing with other users it is still a good practice to protect your work.

    Regards,
    John
  • Do you mean to add it here:

    I can add the VARIABLE but not its value ?

    Thanks,

    Roee

  • Roee,

    That is an example of where you would use the variable.  Basically there you are specifying the value of MW_HOME to be one of the places that the compiler looks for header files.

    To define MW_HOME you can do this in 2 different locations.

    You can define it in the project itself:

    Or if it is something that you want to use across projects you can define it in your workspace.

    Go to Window -> Preferences

    Defining in the workspace is best if you are going to share the project with different uses or use it across different machines where the location of MotorWare may be different.  If you are going to check the project into source control then you definitely want to do it this way.

    There is more information on how to make projects portable here: http://processors.wiki.ti.com/index.php/Portable_Projects

    Regards,

    John

  • This is not working for me

    See below:

    I have opened new workspace, imported ZIP file created from working project and then did the following:

    Why ??

    Thanks,

    Roee

  • Where is the file physically located?
    What do your include paths look like?

    Also if you look at the --include_path options being passed to the compiler in the console view you can see exactly where the compiler is searching for files. Either your variable is off or the way it is used in the include paths is off.

    John
  • Hi,

    Files are located here:

    C:\Users\roeeb\workspace_V10

    You can see here:

    Here is the logfile: (attached)

    Thanks,

    Roee

    log11.txt
    **** Build of configuration Release for project proj_lab11d ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../adc.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="adc.d"  "../adc.c"
    
    >> Compilation failure
    subdir_rules.mk:14: recipe for target 'adc.obj' failed
    "../adc.c", line 41: fatal error #1965: cannot open source file "sw/drivers/adc/src/32b/f28x/f2806x/adc.h"
    1 catastrophic error detected in the compilation of "../adc.c".
    Compilation terminated.
    gmake: *** [adc.obj] Error 1
    'Building file: ../angle_comp.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="angle_comp.d"  "../angle_comp.c"
    
    >> Compilation failure
    subdir_rules.mk:21: recipe for target 'angle_comp.obj' failed
    "../angle_comp.c", line 42: fatal error #1965: cannot open source file "sw/modules/angle_comp/src/32b/angle_comp.h"
    1 catastrophic error detected in the compilation of "../angle_comp.c".
    Compilation terminated.
    gmake: *** [angle_comp.obj] Error 1
    'Building file: ../clarke.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="clarke.d"  "../clarke.c"
    
    >> Compilation failure
    subdir_rules.mk:28: recipe for target 'clarke.obj' failed
    "../clarke.c", line 42: fatal error #1965: cannot open source file "sw/modules/clarke/src/32b/clarke.h"
    1 catastrophic error detected in the compilation of "../clarke.c".
    Compilation terminated.
    gmake: *** [clarke.obj] Error 1
    'Building file: ../clk.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="clk.d"  "../clk.c"
    
    >> Compilation failure
    subdir_rules.mk:35: recipe for target 'clk.obj' failed
    "../clk.c", line 42: fatal error #1965: cannot open source file "sw/drivers/clk/src/32b/f28x/f2806x/clk.h"
    1 catastrophic error detected in the compilation of "../clk.c".
    Compilation terminated.
    gmake: *** [clk.obj] Error 1
    'Building file: ../cpu.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="cpu.d"  "../cpu.c"
    
    >> Compilation failure
    subdir_rules.mk:42: recipe for target 'cpu.obj' failed
    "../cpu.c", line 42: fatal error #1965: cannot open source file "sw/drivers/cpu/src/32b/f28x/f2806x/cpu.h"
    1 catastrophic error detected in the compilation of "../cpu.c".
    Compilation terminated.
    gmake: *** [cpu.obj] Error 1
    'Building file: ../drv8305.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="drv8305.d"  "../drv8305.c"
    
    >> Compilation failure
    subdir_rules.mk:49: recipe for target 'drv8305.obj' failed
    "../drv8305.c", line 46: fatal error #1965: cannot open source file "sw/drivers/drvic/drv8305/src/32b/f28x/f2806x/drv8305.h"
    1 catastrophic error detected in the compilation of "../drv8305.c".
    Compilation terminated.
    gmake: *** [drv8305.obj] Error 1
    'Building file: ../filter_fo.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="filter_fo.d"  "../filter_fo.c"
    
    >> Compilation failure
    subdir_rules.mk:56: recipe for target 'filter_fo.obj' failed
    "../filter_fo.c", line 42: fatal error #1965: cannot open source file "sw/modules/filter/src/32b/filter_fo.h"
    1 catastrophic error detected in the compilation of "../filter_fo.c".
    Compilation terminated.
    gmake: *** [filter_fo.obj] Error 1
    'Building file: ../flash.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="flash.d"  "../flash.c"
    
    >> Compilation failure
    subdir_rules.mk:63: recipe for target 'flash.obj' failed
    "../flash.c", line 42: fatal error #1965: cannot open source file "sw/drivers/flash/src/32b/f28x/f2806x/flash.h"
    1 catastrophic error detected in the compilation of "../flash.c".
    Compilation terminated.
    gmake: *** [flash.obj] Error 1
    'Building file: ../gpio.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="gpio.d"  "../gpio.c"
    
    >> Compilation failure
    subdir_rules.mk:70: recipe for target 'gpio.obj' failed
    "../gpio.c", line 43: fatal error #1965: cannot open source file "sw/drivers/gpio/src/32b/f28x/f2806x/gpio.h"
    1 catastrophic error detected in the compilation of "../gpio.c".
    Compilation terminated.
    gmake: *** [gpio.obj] Error 1
    'Building file: ../hal_2mtr.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="hal_2mtr.d"  "../hal_2mtr.c"
    
    >> Compilation failure
    subdir_rules.mk:77: recipe for target 'hal_2mtr.obj' failed
    "../hal_2mtr.c", line 46: fatal error #1965: cannot open source file "hal_2mtr.h"
    1 catastrophic error detected in the compilation of "../hal_2mtr.c".
    Compilation terminated.
    gmake: *** [hal_2mtr.obj] Error 1
    'Building file: ../ipark.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="ipark.d"  "../ipark.c"
    
    >> Compilation failure
    subdir_rules.mk:84: recipe for target 'ipark.obj' failed
    "../ipark.c", line 42: fatal error #1965: cannot open source file "sw/modules/ipark/src/32b/ipark.h"
    1 catastrophic error detected in the compilation of "../ipark.c".
    Compilation terminated.
    gmake: *** [ipark.obj] Error 1
    'Building file: ../osc.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="osc.d"  "../osc.c"
    
    >> Compilation failure
    subdir_rules.mk:91: recipe for target 'osc.obj' failed
    "../osc.c", line 42: fatal error #1965: cannot open source file "sw/drivers/osc/src/32b/f28x/f2806x/osc.h"
    1 catastrophic error detected in the compilation of "../osc.c".
    Compilation terminated.
    gmake: *** [osc.obj] Error 1
    'Building file: ../pid.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="pid.d"  "../pid.c"
    
    >> Compilation failure
    subdir_rules.mk:98: recipe for target 'pid.obj' failed
    "../pid.c", line 42: fatal error #1965: cannot open source file "sw/modules/pid/src/32b/pid.h"
    1 catastrophic error detected in the compilation of "../pid.c".
    Compilation terminated.
    gmake: *** [pid.obj] Error 1
    'Building file: ../pie.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="pie.d"  "../pie.c"
    
    >> Compilation failure
    subdir_rules.mk:105: recipe for target 'pie.obj' failed
    "../pie.c", line 41: fatal error #1965: cannot open source file "sw/drivers/pie/src/32b/f28x/f2806x/pie.h"
    1 catastrophic error detected in the compilation of "../pie.c".
    Compilation terminated.
    gmake: *** [pie.obj] Error 1
    'Building file: ../pll.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="pll.d"  "../pll.c"
    
    >> Compilation failure
    subdir_rules.mk:112: recipe for target 'pll.obj' failed
    "../pll.c", line 43: fatal error #1965: cannot open source file "sw/drivers/pll/src/32b/f28x/f2806x/pll.h"
    1 catastrophic error detected in the compilation of "../pll.c".
    Compilation terminated.
    gmake: *** [pll.obj] Error 1
    'Building file: ../proj_lab11d.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="proj_lab11d.d"  "../proj_lab11d.c"
    
    >> Compilation failure
    subdir_rules.mk:119: recipe for target 'proj_lab11d.obj' failed
    "../proj_lab11d.c", line 65: fatal error #1965: cannot open source file "main_2mtr.h"
    1 catastrophic error detected in the compilation of "../proj_lab11d.c".
    Compilation terminated.
    gmake: *** [proj_lab11d.obj] Error 1
    'Building file: ../pwm.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="pwm.d"  "../pwm.c"
    
    >> Compilation failure
    subdir_rules.mk:126: recipe for target 'pwm.obj' failed
    "../pwm.c", line 42: fatal error #1965: cannot open source file "sw/drivers/pwm/src/32b/f28x/f2806x/pwm.h"
    1 catastrophic error detected in the compilation of "../pwm.c".
    Compilation terminated.
    gmake: *** [pwm.obj] Error 1
    'Building file: ../pwr.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="pwr.d"  "../pwr.c"
    
    >> Compilation failure
    subdir_rules.mk:133: recipe for target 'pwr.obj' failed
    "../pwr.c", line 42: fatal error #1965: cannot open source file "sw/drivers/pwr/src/32b/f28x/f2806x/pwr.h"
    1 catastrophic error detected in the compilation of "../pwr.c".
    Compilation terminated.
    gmake: *** [pwr.obj] Error 1
    'Building file: ../spi.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="spi.d"  "../spi.c"
    
    >> Compilation failure
    subdir_rules.mk:140: recipe for target 'spi.obj' failed
    "../spi.c", line 42: fatal error #1965: cannot open source file "sw/drivers/spi/src/32b/f28x/f2806x/spi.h"
    1 catastrophic error detected in the compilation of "../spi.c".
    Compilation terminated.
    gmake: *** [spi.obj] Error 1
    'Building file: ../svgen.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="svgen.d"  "../svgen.c"
    
    >> Compilation failure
    subdir_rules.mk:147: recipe for target 'svgen.obj' failed
    "../svgen.c", line 42: fatal error #1965: cannot open source file "sw/modules/svgen/src/32b/svgen.h"
    1 catastrophic error detected in the compilation of "../svgen.c".
    Compilation terminated.
    gmake: *** [svgen.obj] Error 1
    'Building file: ../timer.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="timer.d"  "../timer.c"
    
    >> Compilation failure
    subdir_rules.mk:154: recipe for target 'timer.obj' failed
    "../timer.c", line 41: fatal error #1965: cannot open source file "sw/drivers/timer/src/32b/f28x/f2806x/timer.h"
    1 catastrophic error detected in the compilation of "../timer.c".
    Compilation terminated.
    gmake: *** [timer.obj] Error 1
    'Building file: ../user_2mtr.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="user_2mtr.d"  "../user_2mtr.c"
    
    >> Compilation failure
    subdir_rules.mk:168: recipe for target 'user_2mtr.obj' failed
    "../user_2mtr.c", line 42: fatal error #1965: cannot open source file "user1.h"
    1 catastrophic error detected in the compilation of "../user_2mtr.c".
    Compilation terminated.
    gmake: *** [user_2mtr.obj] Error 1
    'Building file: ../wdog.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt -O2 --opt_for_speed=2 --include_path="C:/sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/" --include_path="C:/Users/roeeb/workspace_V10/proj_lab11d" --include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="C:/Users/src" --include_path="C:/" -g --define=FAST_ROM_V1p6 --define=NO_CTRL --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="wdog.d"  "../wdog.c"
    
    >> Compilation failure
    subdir_rules.mk:175: recipe for target 'wdog.obj' failed
    "../wdog.c", line 43: fatal error #1965: cannot open source file "sw/drivers/wdog/src/32b/f28x/f2806x/wdog.h"
    1 catastrophic error detected in the compilation of "../wdog.c".
    Compilation terminated.
    gmake: *** [wdog.obj] Error 1
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • OK

    I could fix this by applying many changes in paths and copying files

    However I get now 2 warnnings? how can I fix them ?

    Also found out that the current HEX file is smaller than the original one why ?

    See attached photos

    paths are not relative (fixed...)

    Thanks,

    Roee

  • The first warning is due to the include path ${PROJECT_ROOT}/../../../src

    That is resolving to C:\Users\src which does not exist on your computer.  You can get rid of the warning by adjusting the path to make it point where you intended.

    The second warning is because the project is set to use a version of the compiler that you don't have installed on your PC.  CCS then uses the closest match it can find.  This warning is pretty common as many software packages are setup that way.  To resolve this you can click on General in the project properties tree and change the compiler version to one that you have installed.  For my the project was set to use 6.2.3 but CCS is instead using 15.12.3.  That is why you see [15.12.3] beside it.  If you put your mouse over the warning it will give you more info.  Just click on the drop down and change the compiler to 15.12.3 and the warning will go away.

  • OK guys,

    You gave me inspiration

    Fixed all

    I did this to make it relative path:

    However now I get new messages like this:

    Optimization advice (3 items):

    Description Resource Path Location
    Current optimization/debug settings: --opt_level=2 --opt_for_speed=2 -g Current optimization/debug settings: --opt_level=2 --opt_for_speed=2 -g proj_lab11d properties

    Description Resource Path Location
    <a href="processors.wiki.ti.com/.../27010">Not all available code size is being used. Recommend running Optimization Assistant to find best speed vs size setting (--opt_for_speed). Double-click to start.</a> Not all available code size is being used. Recommend running Optimization Assistant to find best speed vs size setting (--opt_for_speed). Double-click to start. proj_lab11d properties

    Description Resource Path Location
    <a href="processors.wiki.ti.com/.../27008">Detecting compilation with low optimization. Recommend setting --opt_level=3. NOTE: debug ability will decrease.</a> Detecting compilation with low optimization. Recommend setting --opt_level=3. NOTE: debug ability will decrease. proj_lab11d properties

    ??

    Thanks,

    Roee