CMSIS-Build  Version 0.10.0 (beta)
Tools, software frameworks, and work flows for productivity with CMSIS based projects
 All Pages
Command Line Build

The following Bash scripts and command line tools can be used for managing the build of CMSIS Projects from the command line. These scripts can be easily adopted to specific environments and are intended as a minimal reference. CMSIS-Build tools are available for download as an asset of the respective CMSIS Release Version (starting with 5.7.0).

For command line build with software packs, the following tools and utilities are provided.

Tool/Script Description
cbuild_install.sh Setup of the CMSIS command line build environment
cp_init.sh Create an empty directory for storing software packs in CMSIS-Pack format
cbuild.sh Start the overall command line build process
cbuildgen Create Make or CMakeLists.txt file and manage software layers
Make GNU Make utility to generate binary images and update configuration files
CMake CMake utility to generate binary images
cp_install.sh Download and install software packs
ccmerge Merge project specific setup to a new version of a configuration file
cbuild_uv.sh Export MDK project targets and run a command line build process
Note
  • For the above command line build tools and scripts a Bash environment is required. For Windows, install for example git for Windows which includes Git Bash.
  • All Bash scripts show a reference implementation and can be easily adopted to the user's needs. They can also be replaced by other scripts written in Python for example. The only tools you still require are cbuildgen and ccmerge.