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.

Can't build TI RTOS GPIO interrupt example

Other Parts Discussed in Thread: EK-TM4C1294XL, TM4C1294NCPDT, CC3100, SYSBIOS

Hello forum,

I am new to RTOS and I am trying to load the GPIO interrupt example on a EK-TM4C1294XL LaunchPad. But I am having a hard time building this example. When I do so the following errors appear in the console:

**** Build of configuration Debug for project gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../gpiointerrupt.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_14_04_31/packages;C:/ti/tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages;C:/ti/tirtos_tivac_2_14_04_31/products/ndk_2_24_03_35/packages;C:/ti/tirtos_tivac_2_14_04_31/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path=\"C:/Users/Vaggelou/Desktop/A R T/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT\" --include_path=\"C:/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b\" --include_path=\"C:/ti/tirtos_tivac_2_14_04_31/packages/ti/drivers/wifi/cc3100/Simplelink\" --include_path=\"C:/ti/tirtos_tivac_2_14_04_31/packages/ti/drivers/wifi/cc3100/Simplelink/Include\" --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" -g --gcc --define=ccs=\"ccs\" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on " "../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/Vaggelou/Desktop/ART~1/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/Vaggelou/Desktop/ART~1/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
clem4f C:/ti/tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages/ti/sysbios/BIOS.c ...
C:/Users/Vaggelou/AppData/Local/Temp/make23936-1.sh: 1: Syntax error: Unterminated quoted string
gmake[1]: *** [BIOS.obj] Error 2
gmake[1]: Leaving directory `C:/Users/Vaggelou/Desktop/ART~1/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios'
gmake: *** [C:/Users/Vaggelou/Desktop/ART~1/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src/sysbios/sysbios.aem4f] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_31_01_33_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/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

If I get this right, there might be some files that the CCS can't find or something like that?

Any help is apprieciated. Thanks in advance for the answers.

  • Vaggelis Aggelou said:
    include_path=\"C:/Users/Vaggelou/Desktop/A R T/ART16/~~~ARTlogger~~~/vaggelou_workspace/gpiointerrupt_EK_TM4C1294XL_TI_TivaTM4C1294NCP

    It looks like you have a space in the path to your workspace. Spaces in the path can cause build errors in TI-RTOS. Try creating a workspace in a new path which doesn't contain any spaces.

    I think accented characters in the workspace path can also cause errors.

  • Hi Chester,

    You were right. The spaces in the name of one of the folders in the path caused the problem. I imported the project in a workspace without any spaces and works fine.

    Thanks for the help!