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.

tm4c129cncpdt: trying to build a simple I2C example

Part Number: TM4C129CNCPDT
Other Parts Discussed in Thread: HDC1080, HDC1080EVM, , TM4C1294NCPDT, TM4C129ENCPDT

Hardware: Tiva C Series TM4C1294 LaunchPad and the HDC1080 humidity sensor from the HDC1080EVM evaluation module. I have the appropriate pullup resistors on SCL and SDA

Very simple (or so I thought): I've been trying to build C:\ti\TivaWare_C_Series-2.1.0.12573\examples\peripherals\i2c\master_slave_loopback.c (my main.c below) so I can talk to this I2C humidity sensor.

This code composer is driving me crazy. I've been beating on this for the past two days. I've included everything conceivable in the include paths.

I've used CCS before but maybe 6 years ago. I'm not a total noob in development environments. But I've mostly been doing Verilog and some hardware design.

Here is the contents of console with the offending errors:

**** Build of configuration Debug for project i2c example ****

"E:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

'Building file: "../tm4c129cncpdt_startup_ccs.c"'
'Invoking: ARM Compiler'
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/lib" --include_path="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/inc" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/utils" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --include_path="E:/ti/ccsv7/ccs_base/arm/include" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/inc/tm4c129cncpdt.h" --define=ccs="ccs" --define=PART_TM4C129CNCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="tm4c129cncpdt_startup_ccs.d_raw" "../tm4c129cncpdt_startup_ccs.c"
'Finished building: "../tm4c129cncpdt_startup_ccs.c"'

'Building file: "../main.c"'
'Invoking: ARM Compiler'
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/lib" --include_path="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/inc" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/utils" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --include_path="E:/ti/ccsv7/ccs_base/arm/include" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/inc/tm4c129cncpdt.h" --define=ccs="ccs" --define=PART_TM4C129CNCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
'Finished building: "../main.c"'

'Building target: "i2c example.out"'
'Invoking: ARM Linker'
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.3.156/inc/tm4c129cncpdt.h" --define=ccs="ccs" --define=PART_TM4C129CNCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"i2c example.map" --heap_size=0 --stack_size=512 -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/lib" -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" -i"C:/ti/TivaWare_C_Series-2.1.3.156/inc" -i"C:/ti/TivaWare_C_Series-2.1.3.156/utils" -i"C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug" -i"C:/ti/TivaWare_C_Series-2.1.3.156" -i"E:/ti/ccsv7/ccs_base/arm/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="i2c example_linkInfo.xml" --rom_model -o "i2c example.out" "./main.obj" "./tm4c129cncpdt_startup_ccs.obj" "../tm4c129cncpdt.cmd" -l"C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug/driverlib.lib" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.3.156/inc/tm4c129cncpdt.h" -l"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" -l"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" -l"C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.h"
<Linking>
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "signed"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "char"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "int8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "unsigned"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "char"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "uint8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "short"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "int16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "unsigned"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "short"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "uint16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "int"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "int32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "unsigned"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "int"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "uint32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "long"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "long"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "int64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "unsigned"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "long"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "long"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "uint64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "int8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "int_least8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "uint8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "uint_least8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "int16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "int_least16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "uint16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "uint_least16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "int32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "int_least32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "uint32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "uint_least32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "int64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "int_least64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "uint64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "uint_least64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "int32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "int_fast8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "uint32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "uint_fast8_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "int32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "int_fast16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "uint32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "uint_fast16_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "int32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "int_fast32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "uint32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "uint_fast32_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "int64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "int_fast64_t"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 79: error #10008-D: cannot find file "typedef"
"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 79: error #10008-D: cannot find file "uint64_t"
fatal error #99900: error limit reached; 100 errors detected

>> Compilation failure
makefile:147: recipe for target 'i2c example.out' failed
gmake[1]: *** [i2c example.out] Error 1
makefile:143: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

  • It is suspected that you've attempted to, "Create your own Project." Such proves very difficult - and NOT just w/CCS.

    Feel your pain!     (where would you even begin to deal w/that "Error Barrage?")

    Far faster - easier - and vastly LESS ERROR PRODUCING - would be for you to employ an (unmodified, Vendor Supplied Project) - and then - gradually & systematically - add in your code bits.

    All IDEs have highly demanding "Set-Ups & Configures" - unless your goal is to become an "IDE Maven" - it proves best to, "Ride the (proven) coat-tails provided by the Vendor Supplied Project" - adding your code in small bits - and always (then) Testing/Verifying...

  • Hi Craig,
    You are using a quite old TivaWare library version TivaWare_C_Series-2.1.0.12573. Can you please download the latest TivaWare version which is 2.1.4.178 from www.ti.com/.../SW-TM4C You will not see these errors with the latest version. Please let me know your result.
  • Some here would wager 10 (USD) or more - that if poster "Creates his own Project" (as previously stated) - even the "miracles" w/in the "latest TWare" - are unlikely to lead to quick success...

    Such vendor directed, "Do Not attempt a self-created Project" (used) to be (proper & standard) vendor SOP.       Has this (long-term) successful recommendation been (recently) reversed?       Seems most unwise...

  • Thanks for the insight. Yeah, I'm not looking to be an IDE MAVEN that;s for sure.

    I had seen a post: try this example (just the main C file). And, of course, I made the mistake of assuming that would be easy.

  • Thank you Charles. I will attempt that and follow-up with my tales of mad success!
  • Craig Meyers said:
    I had seen a post: try this example (just the main C file).

    My friend - such a "post" is NOT a  (Vendor Supplied/Approved)  "Project."      Do understand - no "post" will "fully & properly" Set-Up & Configure your IDE.    Thus your "barrage of errors" is likely to continue!  

    Do employ one of the simpler Vendor Supplied Projects - which "best insures" that your IDE is properly  "made ready" for (even) your custom code.     (perhaps a vendor agent may care to suggest one of their favorite "sample projects."    Neither firm nor I employ CCS - so these are outside our awareness - EXCEPT for their ability to "properly"  Set-Up & Configure the IDE...)

  • Why is linker is trying to open files named after C keywords?

    The linker combines compiled objects. Does it need to know what an int is?

  • Might you better direct such issue to our poster?     Vendor Supplied Projects perform the "Heavy Lifting" - forced upon hapless (new) users (and too often "beyond" their capabilities) - when attempting to, "roll their own" (projects.)

  • Unfortunately the upgrade to C:/ti/TivaWare_C_Series-2.1.4.178 (from 2.1.3.156) was not successful:


    **** Build of configuration Debug for project i2c example ****

    "E:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    'Building target: "i2c example.out"'
    'Invoking: ARM Linker'
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.4.178/utils/uartstdio.h" --preinclude="C:/ti/TivaWare_C_Series-2.1.4.178/inc/tm4c129cncpdt.h" --define=ccs="ccs" --define=PART_TM4C129CNCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"i2c example.map" --heap_size=0 --stack_size=512 -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/lib" -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" -i"C:/ti/TivaWare_C_Series-2.1.4.178/inc" -i"C:/ti/TivaWare_C_Series-2.1.4.178/utils" -i"C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/ccs/Debug" -i"C:/ti/TivaWare_C_Series-2.1.4.178" -i"E:/ti/ccsv7/ccs_base/arm/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="i2c example_linkInfo.xml" --rom_model -o "i2c example.out" "./main.obj" "./tm4c129cncpdt_startup_ccs.obj" "../tm4c129cncpdt.cmd" -l"C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/ccs/Debug/driverlib.lib" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.4.178/inc/tm4c129cncpdt.h" -l"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" -l"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h" -l"C:/ti/TivaWare_C_Series-2.1.4.178/utils/uartstdio.h"
    <Linking>
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "signed"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "char"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10008-D: cannot find file "int8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 42: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "unsigned"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "char"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10008-D: cannot find file "uint8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 43: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "short"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10008-D: cannot find file "int16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 44: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "unsigned"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "short"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10008-D: cannot find file "uint16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 45: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "int"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10008-D: cannot find file "int32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 46: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "unsigned"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "int"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10008-D: cannot find file "uint32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 47: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "long"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "long"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10008-D: cannot find file "int64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 50: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "unsigned"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "long"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "long"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10008-D: cannot find file "uint64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 51: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "int8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10008-D: cannot find file "int_least8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 55: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "uint8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10008-D: cannot find file "uint_least8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 56: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "int16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10008-D: cannot find file "int_least16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 58: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "uint16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10008-D: cannot find file "uint_least16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 59: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "int32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10008-D: cannot find file "int_least32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 60: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "uint32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10008-D: cannot find file "uint_least32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 61: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "int64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10008-D: cannot find file "int_least64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 64: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "uint64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10008-D: cannot find file "uint_least64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 65: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "int32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10008-D: cannot find file "int_fast8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 69: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "uint32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10008-D: cannot find file "uint_fast8_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 70: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "int32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10008-D: cannot find file "int_fast16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 71: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "uint32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10008-D: cannot find file "uint_fast16_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 72: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "int32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10008-D: cannot find file "int_fast32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 74: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "uint32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10008-D: cannot find file "uint_fast32_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 75: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "int64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10008-D: cannot find file "int_fast64_t"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 78: error #10021-D: expecting filename, option, MEMORY, or SECTIONS instead of ";"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 79: error #10008-D: cannot find file "typedef"
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h", line 79: error #10008-D: cannot find file "uint64_t"
    fatal error #99900: error limit reached; 100 errors detected

    >> Compilation failure
    makefile:147: recipe for target 'i2c example.out' failed
    gmake[1]: *** [i2c example.out] Error 1
    makefile:143: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****

  • Hi Craig,
    Did you try the existing i2c examples from the TivaWare library? Can you try to compile the simple examples like blinky or hello? Will you get any errors?
  • No errors on either of those. I compiled both with the C:/ti/TivaWare_C_Series-2.1.3.156 version. Compiled successfully - did everything it was supposed to do. So I guess the solution is to drop the example I'm trying to run into a project that will compile successfully.
  • What does --preinclude="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h" mean? You are passing this option to the linker.

    I typically include stdint.h at the top of my C files. Why are you adding it with a linker command?

    I assume the linker would give errors for all the --preinclude options if the 100 error limit didn't exist.

  • Hi Craig,

     Can you import the attached i2c project? I just compiled and ran the project and there was no errors.

    i2c_master_slave_loopback.zip

  • cb1_mobile said:
    It is suspected that you've attempted to, "Create your own Project." Such proves very difficult - and NOT just w/CCS.

    Such was the "Very first responding post"...    Pity it was not followed...

    As such "self-created" results are, "Highly Predictable" -  vendor may consider "better alerting" (i.e. (some) alerting) of posters - to such (well known) fact...

  • Sorry. I've been pulled off on something else and haven't gotten back to this yet.

    I thought I would attempt the Tiva update that Charles mentioned.

    My next attempt will be as you advised. I'll take one of the canned examples like blinky or hello that I know compiles, then work my new example into that project.

    It seems your advice was definitely worth following.

  • It will be a few days before I can get back to this. I will try as you suggest.
  • Must have been a mistake on my part. Could be the problem. I'll correct it soon. And try again.
  • It is both "rare" and "valued" to receive the, "I'll be away" notification - which you've supplied. Speaks greatly to your character - and conveys the fact that your request IS serious.

    To further clarify - I suggest that you, "Select and Load an "Official, Vendor Supplied Project" - ideally embodying (some) of "your" code elements - and then: "Gradually & systematically - copy/paste your code elements - regularly checking - to insure that "100 Error MAX" does NOT return!

    Again - thanks for the "care" your notification signals. That's a most worthwhile practice - sure to aid (many) areas of your life...
  • Ok. So I had a blinky project that compiled and ran successfully. I added master_slave_loopback.c as a link and removed blinky.c from the build. Tried to build/compile. Got errors below. Added C:/ti/TivaWare_C_Series-2.1.3.156/inc and C:/ti/TivaWare_C_Series-2.1.3.156/utils to the include path for compiler and linker. I'm surprised that anyone can build these projects.


    **** Build of configuration Debug for project blinky ****

    "E:\\ti\\ccsv7\\utils\\bin\\gmake" -k all

    'Building file: "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c"'
    'Invoking: ARM Compiler'
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/utils" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/inc" --include_path="E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA1 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="master_slave_loopback.d_raw" "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c"
    "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c", line 325: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c", line 337: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c", line 375: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c", line 399: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    'Finished building: "C:/ti/TivaWare_C_Series-2.1.3.156/examples/peripherals/i2c/master_slave_loopback.c"'

    'Building target: "blinky.out"'
    'Invoking: ARM Linker'
    "E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA1 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual -z -m"blinky_ccs.map" --stack_size=512 --heap_size=0 -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/TivaWare_C_Series-2.1.3.156/utils" -i"C:/ti/TivaWare_C_Series-2.1.3.156/inc" -i"E:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="blinky_linkInfo.xml" --rom_model -o "blinky.out" "./master_slave_loopback.obj" "./startup_ccs.obj" "../blinky_ccs.cmd" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug/driverlib.lib"
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    UARTStdioConfig ./master_slave_loopback.obj
    UARTprintf ./master_slave_loopback.obj

    error #10234-D: unresolved symbols remain
    remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
    error #10010: errors encountered during linking; "blinky.out" not built

    >> Compilation failure
    makefile:142: recipe for target 'blinky.out' failed
    gmake: *** [blinky.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • Worked for me. DId you import the zip file directly into CCS? If you clicked your mouse more than 8 times, you did something wrong.

    **** Build of configuration Debug for project i2c_master_slave_loopback ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
    'Building file: ../master_slave_loopback.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power="all" -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="master_slave_loopback.d" "../master_slave_loopback.c"
    "../master_slave_loopback.c", line 325: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../master_slave_loopback.c", line 337: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../master_slave_loopback.c", line 375: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../master_slave_loopback.c", line 399: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    'Finished building: ../master_slave_loopback.c'
    ' '
    'Building file: ../startup_ccs.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power="all" -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.d" "../startup_ccs.c"
    "../startup_ccs.c", line 229: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../startup_ccs.c", line 247: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../startup_ccs.c", line 265: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    'Finished building: ../startup_ccs.c'
    ' '
    'Building file: ../uartstdio.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.4.178" --advice:power="all" -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="uartstdio.d" "../uartstdio.c"
    "../uartstdio.c", line 668: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    "../uartstdio.c", line 878: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../uartstdio.c", line 1044: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../uartstdio.c", line 1139: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../uartstdio.c", line 134: remark #1534-D: (ULP 7.1) Detected use of global variable "g_pcHex" within one function "UARTvprintf". Recommend placing variable in the function locally
    'Finished building: ../uartstdio.c'
    ' '
    'Building target: i2c_master_slave_loopback.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --advice:power="all" -g --gcc --define=ccs="ccs" --define=PART_TM4C129ENCPDT --define=TARGET_IS_TM4C129_RA1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual -z -m"i2c_master_slave_loopback.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="i2c_master_slave_loopback_linkInfo.xml" --rom_model -o "i2c_master_slave_loopback.out" "./master_slave_loopback.obj" "./startup_ccs.obj" "./uartstdio.obj" "../i2c.cmd" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/ccs/Debug/driverlib.lib"
    <Linking>
    remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
    'Finished building target: i2c_master_slave_loopback.out'
    ' '
    "C:/ti/ccsv7/utils/tiobj2bin/tiobj2bin" "i2c_master_slave_loopback.out" "i2c_master_slave_loopback.bin" "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armofd" "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armhex" "C:/ti/ccsv7/utils/tiobj2bin/mkhex4bin"
    ' '

    **** Build Finished ****
  • Hi Craig,

      Did you import the master_slave_loopback project that I attached in the forum? 

      I even tried to simply copied the master_slave_loopback.c and the uartstdio.c file into the blinky project and compiled and ran fine. You do NOT include the inc and utils into the include_path. For the uartstdio.c you can either copy into your project or link the file to your project. 

      

  • I started from an existing vendor-supplied project. Removed the existing project source from the build. Added the following files: master_slave_loopback.c and uartstdio.c (not import, but added them as links).

    Success.

    What was I missing? The uartstdio.c source file.

    Thanks to Charles Tsai, Peter Borenstein, and my new BFF cb1_mobile (loved the double quotes).
  • Craig Meyers said:
    I started from an existing vendor-supplied project

    Good that - and your new BFF (only) made such suggestion three times.

    May I (slightly) note that "none" of those,  "Use vendor-supplied" postings received the (usual) BFF Award - a nice  "This Resolved mouse tick!"

    Multiple of (your) posts were so "awarded" - yet none to the hallowed BFF.     (who now sulks - even company mutt avoids...)     You CAN fix that!

  • Both the "company mutt" & crack staff - (now) find this reporter (somewhat) more pleasant to be around.
    Thank you - thank you very much! (you know the originator of that phrase - although (I) offer it w/(some) sincerity...)

    Recall the methods/madness - employed here - and the "bad taste" from "improper guidance" should diminish w/time... Bon chance, mon ami.