Tool/software:
Hello,
Machine: Apple Mac (apple silicon) MacOS: Sonoma 14.7.5
Target: AM263px
I am trying to setup the MCU SDK in our repo and setup a project that can be built in our CI. The SDK is from this link https://github.com/TexasInstruments/mcupsdk-core . I am following the setup instructions provided on the repo. I am able to setup the SDK using West tool and also installed Node.js. As i already have CCS on my machine the dependencies are met. Following the "Build SDK" sections of instructions, I am able to execute Node command that generates the makefiles. When executing the make command is where there are issues.
Build fails : 1st issue
➜ mcu_plus_sdk git:(d0ccb3c8f7) ✗ make -s -j4 libs DEVICE=am263px PROFILE=debug . Archiving: board.am263px.r5f.ti-arm-clang.debug.lib to lib/board.am263px.r5f.ti-arm-clang.debug.lib ... make[2]: /Users/ssirpatil/ti/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmar: No such file or directory Compiling: middleware.am263px.r5f.ti-arm-clang.debug.lib: tiELFuParser/tielfup32.c make[2]: /Users/ssirpatil/ti/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang: No such file or directory Compiling: littlefs.am263px.r5f.ti-arm-clang.debug.lib: /Users/ssirpatil/Git/TI/mcu_plus_sdk/source/fs/littlefs/LittleFS/lfs.c make[2]: *** [lib/board.am263px.r5f.ti-arm-clang.debug.lib] Error 1 make[2]: /Users/ssirpatil/ti/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang: No such file or directory make[1]: *** [board_r5f.ti-arm-clang] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [tielfup32.obj] Error 1 make[2]: *** [lfs.obj] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [middleware_r5f.ti-arm-clang] Error 2 Compiling: littlefs.am263px.r5f.ti-arm-clang.debug.lib: /Users/ssirpatil/Git/TI/mcu_plus_sdk/source/fs/littlefs/LittleFS/lfs_util.c make[2]: /Users/ssirpatil/ti/ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang: No such file or directory make[2]: *** [lfs_util.obj] Error 1 make[1]: *** [littlefs_r5f.ti-arm-clang] Error 2 make: *** [libs] Error 2
The issue is the path ti-cgt-armllvm_4.0.1.LTS/bin/tiarmclang.
There are dashes in the ti-cgt-armllvm_4.0.1.LTS
vs the path on disk uses underscores and an additional underscore between arm and llvm. This is in the imports.mak file
Manually modifying the imports.mak file and issuing build. The following next error is presented➜ mcu_plus_sdk git:(d0ccb3c8f7) ✗ make -s -j1 libs DEVICE=am263px PROFILE=debug
.
Archiving: board.am263px.r5f.ti-arm-clang.debug.lib to lib/board.am263px.r5f.ti-arm-clang.debug.lib ...
/Users/ssirpatil/ti/ti_cgt_arm_llvm_4.0.1.LTS/bin/tiarmar: error: obj/am263px/ti-arm-clang/debug/r5f/board/phy_common_priv.obj: No such file or directory
make[2]: *** [lib/board.am263px.r5f.ti-arm-clang.debug.lib] Error 1
make[1]: *** [board_r5f.ti-arm-clang] Error 2
make: *** [libs] Error 2
The repository does not contain phy_common_priv.c
file.
How to resolve this issue ?