SEGGER Embedded Studio



CPU Support Packages for Embedded Studio - SEGGER - The Embedded Experts CPU & Device Support Embedded Studio supports development and debugging for virtually any ARM or RISC-V-based device. Using the Project Wizard and J-Link support, basic projects can be created with just a few clicks. SEGGER Embedded Studio for ARM Release 4.52a Build.41898 Windows x64 GCC/BINUTILS: Built using the GNU ARM Embedded Toolchain version 9-2019-q4-major source distribution. When i played with example: bleapphrs everything works fine. Now, i want to do some further modifications to the code.

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.

Studio

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.

Example Setup

The setup guide will be based on the following software component:

  • Embedded Studio V4.30c or later
SeggerSEGGERClang

The example project can be found here: SES_User_Build_Steps_Example

Guide

  1. Download and install Embedded Studio V4.30c or later
  2. Unzip the example project
  3. Open the emProject file
  4. Build the project
  5. Now a file called Test.bin should appear in the main project directory where the .emProject file is located

Segger Embedded Studio Tutorial

Retrieved from 'https://wiki.segger.com/index.php?title=Using_User_Build_Steps_in_Embedded_Studio&oldid=6702'