Arm DS Adding Tool Chain Settings

Arm Development Studio (Arm DS) includes two compiler toolchains, Arm Compiler 5 and Arm Compiler 6. These toolchains are part of the default Arm DS installation. GCC toolchains are not built in with Arm DS. In this tutorial, we add a GCC toolchain for Arm DS.

Follow these steps:

  1. Open Arm Development Studio and select Window.
  2. Click Preferences, then in the navigation tree, select Arm DS.
  3. Click Toolchains, in the navigation drop down, as you can see in the following screenshot:

    Add toolchain screenshot

  4. Click Add.
  5. Select one of these options to download a compiler toolchain:

    Note: If you have previously downloaded a compiler toolchain, browse to the location of the toolchain bin directory.

    The following screenshots display these options:

    Toolchain project screenshot

  6. Click OK to run autodetection. A full set of information about the toolchain is provided. For custom implementations of GCC, you can manually edit these fields. The following example screenshot uses GCC 7.4.1:

  7. Click Finish to complete the process. You can now see the new toolchain listed alongside the built-in toolchains, as seen in the following screenshot:

You will be prompted to restart Arm DS IDE for these changes to apply. When complete, the new toolchain is listed as an option when you start a new project, as shown in this screenshot:

You can reconfigure existing projects to use the new toolchain:

  1. Select the project and right-click.
  2. Click Properties, then C/C++ Build and then click Tool Chain Editor.
  3. Select your toolchain under the Current toolchain drop-down.
  4. Clean and build the project again after you change the toolchain.

This is displayed in the following screenshot:

Arm DS remembers your flags and other settings when swapping between different versions of the same toolchain, so there is no need to re-enter them.

Note:Arm DS does not remember your flags and other settings when moving between different toolchains like Arm Compiler 5 and Arm Compiler 6.

Previous Next