Hello guys,
a few hours age I have installed CCS v6.2.0 on Windows 10 and then the packages "TM4C ARM® Cortex®-M4F MCU v2.16.00.08" and "TI-RTOS for TivaC v2.01.00.44423" via the CCS Resource explorer. My gmake version ist 4.1, my workspace is found under "C:\Users\Malte Ebner\workspace_v6_2".
Importing example projects from "TI-RTOS for TivaC v2.01.00.44423" in the resource explorer, for example "blinky" and building and debugging them on a EK_TM4C123GXL Eval Board works fine.
I tried importing the example project "gpiointerrupt_EK_TM4C123GXL_TI" which is found in the resource explorer under "TI-RTOS for TivaC v2.01.00.44423"/Development Tools/EK-TM4C123GXL/Driver Examples/GPIO Examples/GPIO Interrupt. Importing to the IDE worked, but when building the project following errors occured:
These eigth errors occur every time the project is built for the first time and when it is rebuilt or built after clearing. When the project is only built 12 instead of 8 errors occur:
The complete output of building with eight errors:
**** Build of configuration Debug for project gpiointerrupt_EK_TM4C123GXL_TI ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../gpiointerrupt.cfg'
'Invoking: XDCtools'
"C:/ti/tirex-content/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirex-content/tirtos_tivac_2_16_00_08/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C123GH6PM -r release -c "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/Users/Malte Ebner/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI\" --include_path=\"C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include\" -g --gcc --define=ccs=\"ccs\" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --abi=eabi " "../gpiointerrupt.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring gpiointerrupt.xem4f from package/cfg/gpiointerrupt_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
clem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
Build of libraries failed.
C:/Users/MALTEE~1/AppData/Local/Temp/make64432-1.sh: 1: Syntax error: Unterminated quoted string
gmake[1]: *** [BIOS.obj] Error 2
gmake: *** [C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/gpiointerrupt_pem4f.xdl'
gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Deleting file `package/cfg/gpiointerrupt_pem4f.h'
gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Deleting file `package/cfg/gpiointerrupt_pem4f.c'
js: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** No rule to make target 'build-1350592575', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-1350592575', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
And the output with 12 errors:
**** Build of configuration Debug for project gpiointerrupt_EK_TM4C123GXL_TI ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory 'C:/Users/Malte Ebner/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
clem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
makefile:80: recipe for target 'sysbios.aem4f' failed
>> ERROR: no source files, nothing to do
>> ERROR: no source files, nothing to do
>> ERROR: no source files, nothing to do
>> ERROR: no source files, nothing to do
>> ERROR: no source files, nothing to do
--> error: 'BIOS.obj' not found
--> error: 'm3_Hwi_asm.obj' not found
--> error: 'm3_Hwi_asm_switch.obj' not found
--> error: 'm3_IntrinsicsSupport_asm.obj' not found
--> error: 'm3_TaskSupport_asm.obj' not found
gmake[1]: *** [sysbios.aem4f] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sysbios/sysbios.aem4f] Error 2
gmake[1]: Leaving directory 'C:/Users/Malte Ebner/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem4f' failed
'Building file: ../gpiointerrupt.cfg'
'Invoking: XDCtools'
"C:/ti/tirex-content/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirex-content/tirtos_tivac_2_16_00_08/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/tidrivers_tivac_2_16_00_08/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/ndk_2_25_00_09/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/uia_2_00_05_50/packages;C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/ns_1_11_00_10/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C123GH6PM -r release -c "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path=\"C:/Users/Malte Ebner/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI\" --include_path=\"C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/posix\" --include_path=\"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include\" -g --gcc --define=ccs=\"ccs\" --define=PART_TM4C123GH6PM --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --abi=eabi " "../gpiointerrupt.cfg"
configuring gpiointerrupt.xem4f from package/cfg/gpiointerrupt_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
clem4f C:/ti/tirex-content/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.c ...
gmake[1]: Leaving directory `C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios'
Build of libraries failed.
subdir_rules.mk:21: recipe for target 'build-1350592575' failed
C:/Users/MALTEE~1/AppData/Local/Temp/make18424-1.sh: 1: Syntax error: Unterminated quoted string
gmake[1]: *** [BIOS.obj] Error 2
gmake: *** [C:/Users/MALTEE~1/workspace_v6_2/gpiointerrupt_EK_TM4C123GXL_TI/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/gpiointerrupt_pem4f.xdl'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Deleting file `package/cfg/gpiointerrupt_pem4f.h'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/gpiointerrupt_pem4f.xdl] Deleting file `package/cfg/gpiointerrupt_pem4f.c'
js: "C:/ti/tirex-content/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [build-1350592575] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Apart from installing both packages via the resource explorer and importing both projects, no configuration or change of variables was done, neither of CCS itself, nor of any project. During Installation I have also installed "Tiva C Series Support", "TI Arm Compiler", "GCC Arm Compiler", "GUI Composer" for App Center background download.
As I didn´t change any settings, I would have expected, that the example program works out of the box.
Thanks for your help!
Malte Ebner