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:
- Open Arm Development Studio and select Window.
- Click Preferences, then in the navigation tree, select Arm DS.
- Click Toolchains, in the navigation drop down, as you can see in the following screenshot:
- Click Add.
- Select one of these options to download a compiler toolchain:
- Navigate to Arm Compiler downloads for the latest Arm Compiler toolchain.
- Download a GCC toolchain from Linaro.
- Download the GNU Arm Embedded toolchain for Arm processors.
Note: If you have previously downloaded a compiler toolchain, browse to the location of the toolchain bin directory.
The following screenshots display these options:
- 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:
- 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:
- Select the project and right-click.
- Click Properties, then C/C++ Build and then click Tool Chain Editor.
- Select your toolchain under the Current toolchain drop-down.
- 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.