Hello,
i am trying to rebuild the Framework using:
Code Composer Studio 4.2.4.00033
Code Composer Studio Built Utilities 1.0.1
Code Composer Studio for C5500 4.0.0.201106061600
codegen v4.3.9/v4.4.0
DSP/BIOS 5.41.10.36
XDCtools 3.22.1.21
C55 Connected Audio Framework 01.52.01.00
When it comes to:
'Building file: X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf'
'Invoking: TConf Script Compiler'
"C:/APPS/CCS42/xdctools_3_22_01_21/tconf" -b -Dconfig.importPath="C:/APPS/CCS42/bios_5_41_10_36/packages;" "X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf"
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask
==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0
==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}
==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }
==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}
==> err
'Finished building: X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf'
This seems to be the source for this in VC5505_CSL_BIOS_cfg.tcf:
bios.HWI.instance("HWI_INT20").interruptMask0 = "self";
bios.HWI.instance("HWI_INT20").interruptMask1 = "self";
Since there is another definition for HWI_INT20 i removed this two lines.
After that the files VC5505_CSL_BIOS_cfg.s55, VC5505_CSL_BIOS_cfg_c.c and some others are created.
But the builder misses them:
'Building file: VC5505_CSL_BIOS_cfg.s??'
'Invoking: Compiler'
"C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/cl55" -vcpu:3.3 -g -O3 --define="BIOS_BUILD" --define="CSL_AC_TEST" --include_path="C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/rtdx/include/c5500" --include_path="C:/APPS/CCS42/xdais_7_10_00_06/packages/ti/xdais" --include_path="X:/0WRK/c55_caf/build" --include_path="X:/0WRK/c55_caf/inc" --include_path="X:/0WRK/c55_caf/c55xx_csl/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2c/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2s/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/dma/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/pal_os/inc" --include_path="X:/0WRK/c55_caf/asrc/inc" --diag_warning=225 --no_warnings --large_memory_model --algebraic --obj_directory="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --preproc_with_compile --preproc_dependency="VC5505_CSL_BIOS_cfg.pp" ""
>> ERROR: no source files, nothing to do
'Finished building: VC5505_CSL_BIOS_cfg.s??'
' '
'Building file: VC5505_CSL_BIOS_cfg_c.c'
'Invoking: Compiler'
"C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/cl55" -vcpu:3.3 -g -O3 --define="BIOS_BUILD" --define="CSL_AC_TEST" --include_path="C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/rtdx/include/c5500" --include_path="C:/APPS/CCS42/xdais_7_10_00_06/packages/ti/xdais" --include_path="X:/0WRK/c55_caf/build" --include_path="X:/0WRK/c55_caf/inc" --include_path="X:/0WRK/c55_caf/c55xx_csl/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2c/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2s/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/dma/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/pal_os/inc" --include_path="X:/0WRK/c55_caf/asrc/inc" --diag_warning=225 --no_warnings --large_memory_model --algebraic --obj_directory="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --preproc_with_compile --preproc_dependency="VC5505_CSL_BIOS_cfg_c.pp" ""
>> ERROR: no source files, nothing to do
'Finished building: VC5505_CSL_BIOS_cfg_c.c'
When i manually build: VC5505_CSL_BIOS_cfg.obj and VC5505_CSL_BIOS_cfg_c.obj the builder gets it and builds the executable.
Is my tool chain broken?
Best Regards
Lothar