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.

RTOS/TM4C1294NCPDT: tm4c1294 SPI LOOPBACK RTOS

Part Number: TM4C1294NCPDT

Tool/software: TI-RTOS

Hi,

I was moving my non-RTOS SPI codes to RTOS. I have noticed that in C:\ti\tirtos_tivac_2_16_01_14... example for spi loopback is provided so wanted to check it. I am getting this error once project is imported and I try to build it:

   

'Invoking: GNU Linker'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,-Map,"pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/grlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/usblib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o"pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.o" "./pwmled.o" -Wl,-T"../EK_TM4C1294XL.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lgr -lusb -ldriver -lgcc -lm -lrdimon -lc -Wl,--end-group 
makefile:150: recipe for target 'pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out' failed
c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:9: syntax error
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out] Error 1
makefile:146: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

**** Build Finished ****

I have used previously Network examples from the same installation. I am not sure about those make file errors. Any suggestions?

I have added library and rtos installation location to the project.

XDC 3.32.0.06 

RTOS 2.16.1.14

CCS 7.3

  • Hi Lukasz,

    Can you confirm there are no errors in the build? Can you paste the entire build output into a file and attach it (please don't copy/paste in a forum window...it makes it hard to read). 

    I was able to build the example. The only difference I see is the "-MD" and "-std=c99".

    But when I removed these, it still built.

    Can you do a clean and then manually delete the debug and src directories in the project and then try building.

    Todd

  • Hi,

    I have tried cleaning and deleting dubug/src directories. Same errors.  I have tried using differed XDC tools thinking that there may be some compatibility issue but with no success. Same happens when I try to use for instance pwm example. However, network examples like tcpecho work fine. Those use by default different compiler. I didn't notice other differences.

  • Strange. Can you attach the whole output like this: 

    output.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** Build of configuration Debug for project pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT ****
    "C:\\ti\\ccs7_2_0_00006\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/Debug'
    'Building file: ../pwmled.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccs7_2_0_00006/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update" --compileOptions "-mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I\"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\" -I\"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\" -I\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" -I\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix\" -I\"C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include\" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c " "../pwmled.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring pwmled.xm4fg from package/cfg/pwmled_pm4fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios/sysbios.am4fg ...
    gmake[1]: Entering directory `C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport_asm_gnu.sv7M ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Clock.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Idle.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Intrinsics.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Queue.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Semaphore.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi_andn.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi_stack.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi_startup.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateHwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateMutex.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/heaps/HeapMem.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/lm4/Timer.c ...
    arm4fg m3_Hwi_asm_gnu.o m3_Hwi_asm_switch_gnu.o m3_IntrinsicsSupport_asm_gnu.o m3_TaskSupport_asm_gnu.o _BIOS.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o m3_Hwi.o m3_TaskSupport.o gnu_ReentSupport.o gnu_SemiHostSupport.o gates_GateHwi.o gates_GateMutex.o heaps_HeapMem.o lm4_Timer.o ...
    gmake[1]: Leaving directory `C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'
    Build of libraries done.
    clm4fg package/cfg/pwmled_pm4fg.c ...
    'Finished building: ../pwmled.cfg'
    ' '
    gmake[1]: Leaving directory 'C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/Debug'
    1 file(s) copied.
    making ../src/sysbios/sysbios.am4fg ...
    gmake[1]: Nothing to be done for 'all'.
    'Building file: ../pwmled.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -I"C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"pwmled.d" -MT"pwmled.o" -o"pwmled.o" @"configPkg/compiler.opt" "../pwmled.c"
    'Finished building: ../pwmled.c'
    ' '
    'Building file: ../EK_TM4C1294XL.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/workspace/linkerTricks/pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -I"C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -c -MMD -MP -MF"EK_TM4C1294XL.d" -MT"EK_TM4C1294XL.o" -o"EK_TM4C1294XL.o" @"configPkg/compiler.opt" "../EK_TM4C1294XL.c"
    'Finished building: ../EK_TM4C1294XL.c'
    ' '
    making ../src/sysbios/sysbios.am4fg ...
    gmake[2]: Nothing to be done for 'all'.
    'Building target: pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out'
    'Invoking: GNU Linker'
    "C:/ti/ccs7_2_0_00006/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,-Map,"pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/grlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/usblib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o"pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.o" "./pwmled.o" -Wl,-T"../EK_TM4C1294XL.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lgr -lusb -ldriver -lgcc -lm -lrdimon -lc -Wl,--end-group
    'Finished building target: pwmled_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out'
    ' '
    **** Build Finished ****
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Todd

  • Sure. I attach a file. 

    Thanks 

    out.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** Build of configuration Debug for project spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT ****
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
    gmake[1]: Entering directory 'C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/Debug'
    'Building file: ../spiloopback.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update" --compileOptions "-mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I\"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\" -I\"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT\" -I\"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b\" -I\"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix\" -I\"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include\" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall " "../spiloopback.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring spiloopback.xm4fg from package/cfg/spiloopback_pm4fg.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making C:/Users/Lukasz/DROPBO~1/MIT/PROF~1.LEE/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios/sysbios.am4fg ...
    gmake[1]: Entering directory `C:/Users/Lukasz/DROPBO~1/MIT/PROF~1.LEE/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm_gnu.sv7M ...
    asmm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport_asm_gnu.sv7M ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Clock.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Idle.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Intrinsics.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Queue.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Semaphore.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi_andn.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi_stack.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi_startup.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/TaskSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateHwi.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateMutex.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/heaps/HeapMem.c ...
    clm4fg C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/lm4/Timer.c ...
    arm4fg m3_Hwi_asm_gnu.o m3_Hwi_asm_switch_gnu.o m3_IntrinsicsSupport_asm_gnu.o m3_TaskSupport_asm_gnu.o _BIOS.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o m3_Hwi.o m3_TaskSupport.o gnu_ReentSupport.o gnu_SemiHostSupport.o gates_GateHwi.o gates_GateMutex.o heaps_HeapMem.o lm4_Timer.o ...
    gmake[1]: Leaving directory `C:/Users/Lukasz/DROPBO~1/MIT/PROF~1.LEE/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/src/sysbios'
    Build of libraries done.
    clm4fg package/cfg/spiloopback_pm4fg.c ...
    'Finished building: ../spiloopback.cfg'
    ' '
    gmake[1]: Leaving directory 'C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT/Debug'
    1 file(s) copied.
    making ../src/sysbios/sysbios.am4fg ...
    gmake[1]: Nothing to be done for 'all'.
    'Building file: ../spiloopback.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"spiloopback.d" -MT"spiloopback.o" -o"spiloopback.o" @"configPkg/compiler.opt" "../spiloopback.c"
    'Finished building: ../spiloopback.c'
    ' '
    'Building file: ../EK_TM4C1294XL.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -I"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/Users/Lukasz/Dropbox (MIT)/MIT/Prof. Leeb/Ti/CCS7_rtos/spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT" -I"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"EK_TM4C1294XL.d" -MT"EK_TM4C1294XL.o" -o"EK_TM4C1294XL.o" @"configPkg/compiler.opt" "../EK_TM4C1294XL.c"
    'Finished building: ../EK_TM4C1294XL.c'
    ' '
    making ../src/sysbios/sysbios.am4fg ...
    gmake[2]: Nothing to be done for 'all'.
    'Building target: spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out'
    'Invoking: GNU Linker'
    "C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -DPART_TM4C1294NCPDT -D_POSIX_SOURCE -Dgcc -DTIVAWARE -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,-Map,"spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/grlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/usblib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/gcc" -L"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o"spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out" "./EK_TM4C1294XL.o" "./spiloopback.o" -Wl,-T"../EK_TM4C1294XL.lds" "C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lgr -lusb -ldriver -lgcc -lm -lrdimon -lc -Wl,--end-group
    makefile:151: recipe for target 'spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out' failed
    c:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe:configPkg/linker.cmd:9: syntax error
    collect2.exe: error: ld returned 1 exit status
    gmake[1]: *** [spiloopback_EK_TM4C1294XL_GNU_TivaTM4C1294NCPDT.out] Error 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Thanks. Can you import the example into a location with no spaces? I'm thinking (hoping) "Prof. Leeb" and "Dropbox (MIT)" are causing the problem.
  • I have all of my workspaces there and nothing happens. I will try that.

    Thanks
  • Oops. I thought the split would leave the last post here! That was the issue. I split off a follow-up question.