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_am13e230x.mk file and adjust path values to match the CCS, TI and non-TI toolchain, SysConfig installed directories and version.
Install Standalone SysConfig
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
GNU Make is typically available by default, however you can install it by doing below on a bash shell
sudo apt-get install build-essential
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
Run below script in a Linux bash command prompt to install required tools. Note, this uses aptget to download and install the required tools
chmod +x ./install_dependencies_linux_x64.sh
./install_dependencies_linux_x64.sh
Run below script in a MacOS zsh command prompt to install required tools. Note, this uses brew to download and install the required tools
chmod +x ./install_dependencies_macos.sh
./install_dependencies_macos.sh
Install command line build tools manually
Install Cmake
Download and install cmake from https://cmake.org/download/
Do below to install cmake on Linux
sudo apt install cmake
Do below to install cmake on MacOS
brew install cmake
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.
Do below to install ninja on Linux
sudo apt install ninja-build
Do below to install ninja on MacOS
brew install ninja
Confirm tools are installed correctly
Confirm tools are installed by doing below on a command prompt
cmake --version
./gmake --version
./tools/ninja --version
cmake --version
ninja --version
make --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.