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.

Compiler: Unable to rebuild drivers

Tool/software: TI C/C++ Compiler

Hi, I have just tried to rebuild drivers in order to speed up the spi interface up to 10Mhz. I rode this post http://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/796377?RTOS-CC2642R-Increase-SPI-bit-rate-for-FATfs-using-the-SDSPI-c-driver where mistermind leaves the link for the rebuild documentation. The clean process ran properly after moving the makefile for it to use the right xdcTools are installed on my computer (it was selected a different one I don't know why) and here is the line makefile generates for the build process and the error I get.

It also remarkable that sometimes the xdc.exe gets corrupted in some point changing its size to 0 bytes (only this command run), but I solved this with the XDCtools folder from my workmate. 

How to solve the issue? how to recompile 'gnu.targets.arm' ?

Thank you very much in advance!!!

c:\ti\xdctools_3_32_00_06_core>c:/ti/xdctools_3_32_00_06_core/xdc.exe -j 1 XDCBUILDCFG=c:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/kernel/tirtos/packages/coresdk.bld XDCARGS="ti.targets.arm.elf.M4F=\"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS\" gnu.targets.arm.M4F=\"c:/ti/ccs1000/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major-win32\" iar.targets.arm.M4F=\"c:/Program Files (x86)/IAR Systems/Embedded Workbench 8.4/arm\" CC26XXWARE=c:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78" XDCPATH="c:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source;c:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/kernel/tirtos/packages" all -PR .
making all: Fri May 22 20:37:29 2020 ...
======== .interfaces [./packages/host/platforms/PC] ========
making package.mak (because of package.bld) ...
js: "C:/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/kernel/tirtos/packages/coresdk.bld", line 106: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\ti\simplelink_cc13x2_26x2_sdk_4_10_00_78\kernel\tirtos\packages\gnu\targets\arm\package.xdc found along the package path, but no schema file was found. Ensure that the package 'gnu.targets.arm' is completely built.
gmake[1]: *** No rule to make target `package.mak', needed by `.interfaces'. Stop.
xdctools_3_32_00_06_core\gmake.exe: *** [packages/host/platforms/PC,.interfaces] Error 2

  • Hi Alvaro,

    The suggestion in that post was to add the source file to your project. Doing this assures that the local copy is picked up instead of the library version. This is the quickest and easiest way to test it out. Trying to actually re-compile the library files is another story that is not always trivial (as you have seen yourself).

    Do you need to rebuild the library or could you work with just adding the SDSPI.c file to the project in question?