Set Up and Configuring Armclang Compiler Toolchain for Code Generation
Setup and configure Armclang compiler toolchain for code generation shows you how to:
To register Armclang compiler.
Configure the model using Armclang compiler toolchain.
The default compiler toolchain is GNU Tools for ARM Embedded Processors.
Registering Armclang Compiler
To register the Armclang compiler toolchain, follow the hardware setup instructions.
Enter the following command at MATLAB® command prompt to open hardware setup window.
In the Register Armclang Compiler window, Click Download Required in the status section. This navigates you to the web page to download Armclang compiler.
Download and Install licensed Arm Compiler V6.12.
If Armclang compiler is already installed and registered, the status shows Toolchain Registered.
If Armclang compiler is installed and not registered, the status shows Installation Detected.
Setup and configure Armclang compiler toolchain for code generation is not supported for STM32F4xx Processor based boards.
Ensure that the Armclang compiler is installed and license is setup.
Click Next to validate.
In the Validate Armclang Compiler Installation Path window, click Browse and locate the Armclang compiler installation folder path.
Click Finish, If the validation of Armclang compiler is successful.
If the validation fails, verify the specified Armclang compiler directory.
Configuring the Model Using Armclang Compiler Toolchain
This section describes how to configure the model using Armclang compiler toolchain in configuration parameters.
In the Configuration Parameters window, click Code Generation pane. By default, the Toolchain is GNU Tools for ARM Embedded Processors.
Select Armclang Compiler in
Armclang compiler toolchain is only supported for Embedded Coder® Support Package for STMicroelectronics® Discovery Boards, Simulink® Coder™ Support Package for STMicroelectronics Nucleo Boards (except STM32 Nucleo F031K6 board), and Embedded Coder Support Package for ARM® Cortex®-M Processors.