Team,
To start with I am just trying to import the DM648/DM6437 DVSDK 1.11 examples (like video_preview) into CCSv5.
It seems that there are differences in the build process when a BIOS 5.x project is created (from an existing DSP BIOS 5.x example) and when it is imported from a CCS 3.30 project.
If you look at the below post:
http://e2e.ti.com/support/embedded/tirtos/f/355/p/319358/1112228.aspx#1112228
you can see that the imported project does not have the portion of the subdir_rules.mk that invoke Tconf and create the *.cfg.cmd. This makes the build failing as the BIOS symbols and libs are not found.
On the created project Tconf is called as expected to generate the *.cfg.cmd. See below the 2 subdir_rules.mk files.
Am I missing something here?
Thanks and best regards,
Anthony
-------------- EDITED ------------------
subdir_rule.m generated from the BIOS 5 example (manually) created:
As expected the Tconf is being invoked.
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Each subdirectory must supply rules for building sources it contributes
hello.obj: ../hello.c $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/bin/cl6x" --define=dm6437 --include_path="C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/include" --include_path="C:/ti/_CCSworkspace/test_bios5/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --symdebug:dwarf --diag_warning=225 --display_error_number --silicon_version=64+ --preproc_with_compile --preproc_dependency="hello.pp" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '
hellocfg.cmd: ../hello.tcf
@echo 'Building file: $<'
@echo 'Invoking: TConf'
"C:/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_01_09/packages;" "$<"
@echo 'Finished building: $<'
@echo ' '
hellocfg.s??: | hellocfg.cmd
hellocfg_c.c: | hellocfg.cmd
hellocfg.h: | hellocfg.cmd
hellocfg.h??: | hellocfg.cmd
hello.cdb: | hellocfg.cmd
hellocfg.obj: ./hellocfg.s?? $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/bin/cl6x" --define=dm6437 --include_path="C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/include" --include_path="C:/ti/_CCSworkspace/test_bios5/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --symdebug:dwarf --diag_warning=225 --display_error_number --silicon_version=64+ --preproc_with_compile --preproc_dependency="hellocfg.pp" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '
hellocfg_c.obj: ./hellocfg_c.c $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/bin/cl6x" --define=dm6437 --include_path="C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/include" --include_path="C:/ti/_CCSworkspace/test_bios5/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --symdebug:dwarf --diag_warning=225 --display_error_number --silicon_version=64+ --preproc_with_compile --preproc_dependency="hellocfg_c.pp" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '
--------- subdir_rule.m from the imported project:
Tconf is not invoked!
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Each subdirectory must supply rules for building sources it contributes
i2c_params.obj: C:/ti/dvsdk_1_11_00_00/examples/common/evmDM6437/i2c_params.c $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/bin/cl6x" --cmd_file="C:\ti\_CCSworkspace\video_preview\xdcconfig\compiler.opt" --define="CHIP_DM6437" --define="_NTSC" --define="DM6437_SOC_BUILD" --define="_DEBUG" --define=dm6437 --include_path="C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/include" --include_path="C:/ti/dvsdk_1_11_00_00/edma3_lld_1_05_00/packages" --include_path="C:/ti/dvsdk_1_11_00_00/examples/common/evmDM6437" --include_path="C:/ti/evmdm6437_v2/include" --include_path="C:/ti/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages" --include_path="C:/ti/_CCSworkspace/video_preview/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path=".." --include_path="/include" --symdebug:dwarf --display_error_number --issue_remarks --silicon_version=64+ --preproc_with_compile --preproc_dependency="i2c_params.pp" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '
video_preview.obj: ../video_preview.c $(GEN_OPTS) $(GEN_HDRS)
@echo 'Building file: $<'
@echo 'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/bin/cl6x" --cmd_file="C:\ti\_CCSworkspace\video_preview\xdcconfig\compiler.opt" --define="CHIP_DM6437" --define="_NTSC" --define="DM6437_SOC_BUILD" --define="_DEBUG" --define=dm6437 --include_path="C:/ti/ccsv5/tools/compiler/c6000_cgtools_6_0_31/include" --include_path="C:/ti/dvsdk_1_11_00_00/edma3_lld_1_05_00/packages" --include_path="C:/ti/dvsdk_1_11_00_00/examples/common/evmDM6437" --include_path="C:/ti/evmdm6437_v2/include" --include_path="C:/ti/dvsdk_1_11_00_00/pspdrivers_1_10_00/packages" --include_path="C:/ti/_CCSworkspace/video_preview/Debug" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="/include" --include_path=".." --include_path="/include" --symdebug:dwarf --display_error_number --issue_remarks --silicon_version=64+ --preproc_with_compile --preproc_dependency="video_preview.pp" $(GEN_OPTS__FLAG) "$<"
@echo 'Finished building: $<'
@echo ' '