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.
Note
The default Armclang compiler toolchain isGNU Tools for ARM Embedded Processors.
注册Armclang编译器
To register the Armclang compiler toolchain, follow the hardware setup instructions.
Enter the following command at MATLAB®command prompt to open hardware setup window.
matlabshared.toolchain.armclang.register
In theRegister Armclang Compilerwindow, ClickDownload Requiredin the status section. This navigates you to the web page to download Armclang compiler.
Note
Download and Install licensed Arm Compiler V6.12.
If Armclang compiler is already installed and registered, the status showsToolchain Registered.
If Armclang compiler is installed and not registered, the status showsInstallation 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.
ClickNextto validate.
In theValidate Armclang Compiler Installation Pathwindow, clickBrowseand locate the Armclang compiler installation folder path.
ClickValidate.
ClickFinish, 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 theConfiguration Parameterswindow, clickCode Generationpane. By default, theToolchainisGNU Tools for ARM Embedded Processors.
SelectArmclang Compilerin
Toolchain
.ClickOK.
Limitations
Armclang compiler toolchain is only supported forEmbedded Coder®Support Package for STMicroelectronics®Discovery Boards,金宝app®Coder™ Support Package for STMicroelectronics Nucleo Boards(except STM32 Nucleo F031K6 board), andEmbedded Coder Support Package for ARM®Cortex®-M Processors.