Using User Build Steps in Embedded Studio
SEGGER Embedded Studio also offers an option to use User Build Steps to further automate and expand a build setup. With User Build Steps external tools can be called via command line interface which can then execute tasks at certain hook points after e.g. a build or linking process.
The following sample will show such a setup where an Output hex file is generated by the project through the build. This file will then be opened by the external tool J-Flash from the J-Link software and documentation package and convert this file from hex to bin.
The project is setup to work standalone so only Embedded Studio must be installed. In your own implementation you can of course call any tool from anywhere on your filesystem.
The setup guide will be based on the following software component:
- Embedded Studio V4.30c or later
The example project can be found here: SES_User_Build_Steps_Example
- Download and install Embedded Studio V4.30c or later
- Unzip the example project
- Open the emProject file
- Build the project
- Now a file called Test.bin should appear in the main project directory where the .emProject file is located