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.

TM4C123GH6PM: Creating TI-RTOS Examples with IAR Embedded Workbench

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: CC3100

Dear team:

My customer uses this document as a reference. After compiling a new project created by myself, the following error appears. How can I deal with it?

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/1_21_00_09/exports/docs/docs/spruhd3g.pdf

Error after build:

Building configuration: Sensor - Debug
Updating build tree...
Performing Pre-Build Action
Error while running "D:\ti\xdctools_3_51_01_18_core/xs"
--xdcpath="d:/ti/tirtos_tivac_2_14_04_31/packages;d:/ti/tirtos_tivac_2_14_04_31/products/bios_6_42_03_35/packages;d:/ti/tirtos_tivac_2_14_04_31/products/ndk_2_2
4_03_35/packages;d:/ti/tirtos_tivac_2_14_04_31/products/uia_2_00_02_39/packages" iar.tools.configuro -c "C:\IAR\arm" --cc "C:\IAR\arm\bin\iccarm.exe" --device
"TM4C123GH6PM" --compileOptions "dummy.c -o E:\04Sensor\Project\Debug\Obj --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering
--no_scheduling --debug --endian=little --cpu=Cortex-M4 -f E:\04Sensor\Project/configPkg/compiler.opt.defs --diag_suppress=Pa050
-Id:/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b -Id:/ti/tirtos_tivac_2_14_04_31/packages/ti/drivers/wifi/cc3100/Simplelink
-Id:/ti/tirtos_tivac_2_14_04_31/packages/ti/drivers/wifi/cc3100/Simplelink/Include -DPART_TM4C123GH6PM -Dewarm -DTIVAWARE --debug --silent -e
--fpu=VFPv4_sp --dlib_config C:\IAR\arm\inc\c\DLib_Config_Normal.h -Ol" --linkOptions "--no_out_extension -o E:\04Sensor\Project\Debug\Exe\Sensor.out --map E:\
04Sensor\Project\Debug\List\Sensor.map --config C:\IAR\arm\config\linker\TexasInstruments\TM4C123GH6.icf -f E:\04Sensor\Project/configPkg/linker.cmd
d:/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b/grlib/ewarm/Exe/grlib.a
d:/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b/usblib/ewarm/Exe/usblib.a
d:/ti/tirtos_tivac_2_14_04_31/products/TivaWare_C_Series-2.1.1.71b/driverlib/ewarm/Exe/driverlib.a --silent --cpu=Cortex-M4F --entry=__iar_program_start --redirect
_Printf=_PrintfSmall --redirect _Scanf=_ScanfSmall --semihosting --entry __iar_program_start --vfe --text_out locale" --profile release --projFile "E:\04Sensor\Project\
Sensor.ewp"

Total number of errors: 1
Total number of warnings: 0

Best regards

  • Hello Green,

    I have very limited experience with IAR and its only for TivaWare SDK. Our TI-RTOS expertise is only on CCS. I do not have the background on the documentation referenced to know what the error cause is here, our team did not generate this collateral. This should raised with IAR who should be able to identify what is not compiling correctly.

    Alternatively, TI-RTOS for Tiva-C comes with some IAR examples available. They can be referenced to see how the right links and associations are established.

    Location: [Install Path]\tirtos_tivac_2_16_00_08\tirtos_tivac_2_16_00_08_examples\IAR

    Best Regards,

    Ralph Jacobi