Setup SDK for command line build

CMake with Ninja build tool is used to build the SDK libraries and examples from the command line.

GNU Make is used to trigger CMake build

Specify paths to IDE and compiler tools

Edit the file imports_am13e232x.mk file and adjust path values to match the CCS, TI and non-TI toolchain, SysConfig installed directories and version.

Install Standalone SysConfig

See Install Standalone SysConfig Tool

Install GNU Make

  • gmake for windows is already packaged within SDK root. Installation is not needed.

  • If powershell is being used, gmake will need to be invoked with ./

    ./gmake
    

Install command line build tools using a script file

A convenient script for Windows powershell, Linux bash shell and MacOS zsh shell is provided to install the tools with a single command. If you face problems with these scripts then proceed to install manually one by one using the steps documented in next section

After running this script successfully, Confirm tools are installed correctly

Run below script in a Windows powershell command prompt to install required tools. Note, this uses winget to download and install the required tools

install_dependencies_win11.ps1

Install command line build tools manually

Install Cmake

Download and install cmake from https://cmake.org/download/

Install Ninja build

ninja is used as the backend build system by cmake

  • Ninja for windows is already packaged within SDK. Installation is not needed.

Confirm tools are installed correctly

Confirm tools are installed by doing below on a command prompt

cmake --version
./gmake --version
./tools/ninja --version

If the system is not able to find these tools, check your environment PATH variable to make sure path to these tools are specified correctly. Sometimes you need to open a new command prompt after installation for the PATH changes to take effect.