Main Content

ARM Cortex-M4 - Build Options

Use the build options to specify how the build process takes place.

You can set the following parameters for build options:

Build action

Define how Embedded Coder® responds when you build your model.

The Build, load and run option is supported for Texas Instruments® Code Composer Studio™ CCS v4 and the later versions.

If you select the Build, load and run option, you must provide the required CCS hardware configuration file.

Disable parallel build

  • on – When you select this option, the blockset compiles generated code and driver source codes in sequential order.

  • off – When you clear the selection, the blockset compiles generated code and driver source codes parallely. Parallel execution reduces the time taken to build the model.

Device Name

Select a particular device from the selected processor family.

Boot From Flash (stand alone execution)

The option to specify if the application has to load to the flash. If you do not select this option, the application loads to the RAM.

Use custom linker command file

Select this option, if you have your own custom linker file, which you can specify in the Linker command file parameter. If you do not select this option, based on the device you have selected, a default custom linker command file is used.

Linker command file

For each family of TI processor selected under Target hardware resources, one linker command file is selected automatically.

For a different variant of the processor, you can select the variant from the ‘src’ folder in the blockset installation path. You can also create custom linker command file and select the file path using the Browse button.

The linker command file path provided can be absolute or relative. If the path provided is relative, the path must be selected with respect to the folder where the model is present or the code generation folder.

CCS hardware configuration file

The Code Composer Studio file required for downloading the application on the hardware. Select one of the .ccxml files from the folder ‘CCS_Config’ folder under blockset installation folder.

Alternately, can use Code Composer Studio to create the ccxml file. In Code Composer Studio, go to File > New > Target Configuration File. Select the file you created using the Browse button. You can also edit the ccxml file using the Edit button.

The ccxml files provided with C2000™ Microcontroller Blockset are as follows:The ccxml files provided are as follows:

  • f2838x.ccxml – TI F2838xD XDS100v2 USB Emulator

  • f2838x.ccxml – TI F2838xS XDS100v2 USB Emulator

Related Topics