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.

Building TI-RTOS for Tiva using IAR

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am trying to build TI-RTOS for board DK-TM4C123G using IAR.

After downloading the tirtos package, I faces a problem building the OS with IAR. After a bit of struggling - I found our that the build script did not like that IAR tools path has spaces (C:\Program Files (x86)...).

Using subst and directiong the build script to the mapped drive - the build of the rtos reported as success.

Now - trying to build the examples - the make examplesgen succeed and the build of the actual example fails.

Tried both using the IAR IDE and using command line - the same fail result is recieved:

D:\ti\DoronRtosSamples\tirtos_tivac_2_10_01_38_examples\IAR\DK_TM4C123G\spiloopb
ack>d:\ti\xdctools_3_30_04_52_core\gmake.exe all
Running Configuro...
making package.mak (because of package.bld) ...
generating interfaces for package spiloopback (because package/package.xdc.inc i
s older than package.xdc) ...
configuring spiloopback.xrm4f from package/cfg/spiloopback_prm4f.cfg ...
Calling progGen.gen package/cfg/spiloopback_prm4f,spiloopback.xrm4f,cfg,xdc.cfg.
Program,true
generating custom ti.sysbios library makefile ...
js: "D:/ti/xdctools_3_30_04_52_core/packages/xdc/cfg/Main.xs", line 48: XDC runt
ime error: can't find the library 'lib/Boot.arm4f' specified by package ti.catal
og.arm.cortexm4.tiva.ce. It wasn't found along the path 'D:/ti/tirtos_tivac_2_1
0_01_38/packages;D:/ti/tirtos_tivac_2_10_01_38/products/uia_2_00_02_39/packages;
D:/ti/tirtos_tivac_2_10_01_38/products/ndk_2_24_01_18/packages;D:/ti/tirtos_tiva
c_2_10_01_38/products/bios_6_41_00_26/packages;d:/ti/xdctools_3_30_04_52_core/pa
ckages;..;'.
gmake.exe: *** [package/cfg/spiloopback_prm4f.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/spiloopback_prm4f.xdl'
gmake.exe: *** [package/cfg/spiloopback_prm4f.xdl] Deleting file `package/cfg/sp
iloopback_prm4f.h'
gmake.exe: *** [package/cfg/spiloopback_prm4f.xdl] Deleting file `package/cfg/sp
iloopback_prm4f.c'
js: "D:/ti/xdctools_3_30_04_52_core/packages/xdc/tools/Cmdr.xs", line 51: Error:
xdc.tools.configuro: configuration failed due to earlier errors (status = 2); '
linker.cmd' deleted.
gmake: *** [spiloopback/linker.cmd] Error 1

  • Couple questions/requests

    1. You installed TI-RTOS in to d:\ti...correct?

    2. Can you confirm the library D:\ti\tirtos_tivac_2_10_01_38\products\bios_6_41_00_26\packages\ti\catalog\arm\cortexm4\tiva\ce\lib\Boot.arm4f exist.

    3. If it does not, did you do a gmake -f tirtos.mak clean? This removes all the libraries.

    Todd


  • Hi,

    1. Yes - I did install it on d:

    2. The library is missing

    3. Yes, when I strugled with the IAR path issues I did clean the tree.

    I have just tried to uninstall and re-install the package and the libraries exists. Build is now working.

    Thank you very much for the help.

    Doron