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.

CCS/CC2652R: gmake Error 2

Part Number: CC2652R

Tool/software: Code Composer Studio

Hi

I have the very same error like in the post https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/657834?CC2642R-Problems-with-XDC-Configuro

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring ble_release.xem4 from package/cfg/ble_release_pem4.cfg ...
generating custom ROM library makefile ... 
TOOLS/subdir_rules.mk:12: recipe for target 'build-1602477985-inproc' failed
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find the library 'lib/boot.aem4' specified by package ti.targets.arm.rtsarm.  It wasn't found along the path 'C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source;C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/kernel/tirtos/packages;C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/ble5stack;C:/ti/xdctools_3_51_01_18_core/packages;..;'.
gmake.exe: *** [package.mak:202: package/cfg/ble_release_pem4.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/ble_release_pem4.xdl'
gmake.exe: *** [package/cfg/ble_release_pem4.xdl] Deleting file 'package/cfg/ble_release_pem4.h'
gmake.exe: *** [package/cfg/ble_release_pem4.xdl] Deleting file 'package/cfg/ble_release_pem4.c'
js: "C:/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1602477985-inproc] Error 1
gmake: *** [build-1602477985] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-1602477985' failed
gmake: Target 'all' not remade because of errors.

I already tried to start with a fresh example project before and ran into the same error again after adding some files from the SDK-folder into a virtual folder in the project.

It is not possible to revert the error by undoing the changes made. --> same error over and over again.

I don't even find a library called "boot.aem4" only "boot.aem4f" is found somewhere in the SDK folder.

Code Composer Studio  Version: 8.3.0.00009

I'm trying to make use of one of the hardware timers (GPT) and this annoying error keeps me from doing what I need to do.

Do you have any suggestions, what can be done to avoid this error?

It generates pretty much work to always start with a fresh project copy of the exampel projects and it just lasts very short!

kind regards

Andreas

  • Hi Andreas,

    Can you please elaborate a bit more on what you do when this error start to happen? Are the contend in the virtual folder files or linked files?
    Are you using the empty example as a starting point?

    What SDK are you using?

    Best Regards,
    R.M
  • I was just told by a colleague that CCS sporadically changes the setting of the target from ti.targets.arm.elf.M4F to ti.targets.arm.elf.M4.

    This is really annoying, please correct this error in CCS.


    The setting of the selected Target can be found in:

    Projectproperties->General->Products->Target

    simply set it to: ti.targets.arm.elf.M4F
    again and everything works.

    best wishes
    Andreas
  • Hi Andreas,

    Thank you for the feedback, I'll forward the issue to the CCS team.

    Best regards,
    R.M
  • Thanks R.M
  • Andreas U said:
    I was just told by a colleague that CCS sporadically changes the setting of the target from ti.targets.arm.elf.M4F to ti.targets.arm.elf.M4.

    This is a known issue in CCS. It happens when the Compiler version field in the Project Properties is changed.
    As you mentioned, the workaround is to manually change the Target back to ti.targets.arm.elf.M4F.

    This issue is fixed internally and I expect it will be picked up for the next release of SDK.