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.

AM2631: SDK's files, when modified, seem to have no effect on the executable

Part Number: AM2631

Hello,

I have had the need to modify one of the SDK's supplied files (gpmc_v0.c) in the folder C:\ti\mcu_plus_sdk_am263x_09_01_00_41\source\drivers\gpmc\v0. However, it seems to have no effect on the generated executable.

What is required for this file to be recompiled when doing a Clean/Build?

Regards,

Javier

  • Hi Javier,

    The libraries need to be recompiled in order to have an effect on the generated executable. The steps for the same is given in the following link (See the section "Building Libraries with Makefiles": AM263x MCU+ SDK: Using SDK with Makefiles (ti.com)

    Please let me know if this works.

    Thanks,

    Sahana

  • Thanks for your response Sahana,

    I added the gmake location to the path variable, and when running "gmake -s libs PROFILE=release" at "C:\ti\mcu_plus_sdk_am263x_09_01_00_41", the following appears:

    process_begin: CreateProcess(NULL, C:/ti/ccs1250/ccs/utils/cygwin/mkdir -p obj/am263x/ti-arm-clang/release/r5f/board/, ...) failed.
    make (e=2): The system cannot find the file specified.
    makefile.am263x.r5f.ti-arm-clang:137: recipe for target 'obj/am263x/ti-arm-clang/release/r5f/board/' failed
    gmake[2]: *** [obj/am263x/ti-arm-clang/release/r5f/board/] Error 2
    makefile.am263x:525: recipe for target 'board_r5f.ti-arm-clang' failed
    gmake[1]: *** [board_r5f.ti-arm-clang] Error 2
    makefile:68: recipe for target 'libs' failed
    gmake: *** [libs] Error 2

    It seems that the issue is trying to find the ccs1250 folder when the ccs1260 is the one installed, but not sure how to change it...

  • Ah, I just saw that the right versions need to be referenced in the file imports.mak. I changed ccs1250 to ccs1260, and ti-cgt-armllvm_3.2.0.LTS to ti-cgt-armllvm_3.2.1.LTS, and was able to recompile.

    Thanks, Sahana.