Skip to content

Commit 1a744b7

Browse files
authored
Merge pull request #1028 from bridadan/mbed_studio_armc6
Using Mbed Studio's ARMC6 with Mbed CLI
2 parents eb64975 + 636f345 commit 1a744b7

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/tools/CLI/cli-setup/cli-reqs.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,18 @@ Mbed CLI supports a setting for each toolchain path:
228228
| IAR EWARM Compiler | `C:/Program Files/IAR Systems/Embedded Workbench 8.2/arm/bin/iccarm.exe` | `IAR_PATH` | `C:/Program Files/IAR Systems/Embedded Workbench 8.2/arm`|
229229
| GCC Arm Embedded Compiler | `/usr/bin/arm-none-eabi-gcc` | `GCC_ARM_PATH` | `/usr/bin`|
230230
231+
##### Using Arm Compiler 6 (from Mbed Studio)
232+
233+
Mbed Studio comes with a free version of Arm Compiler 6 for use with Mbed OS. If you want to use Arm Compiler 6 with Mbed CLI:
234+
235+
1. Install [Mbed Studio](https://os.mbed.com/docs/mbed-studio/latest/introduction/index.html).
236+
1. Configure the `ARMC6_PATH`.
237+
238+
For Mbed Studio 0.4 and later, the Arm Compiler 6 executable is located in `./tools/ac6/bin`. This path is relative to the installation directory of Mbed Studio. On Windows, for example, the default path is `C:\MbedStudio\tools\ac6\bin`.
239+
240+
1. Set the environment variable `ARMLMD_LICENSE_FILE` to the path of Mbed Studio's Arm Compiler 6 license. For Mbed Studio 0.4 and later, the license is located at `./tools/ac6-license.dat`. This path is relative to the installation directory of Mbed Studio. On Windows, for example, the default path is `C:\MbedStudio\tools\ac6-license.dat`.
241+
242+
Note that this environment variable is not managed by Mbed CLI, so you must set it appropriately in your environment.
231243
232244
#### Method 2: environment variable
233245

docs/tools/tools_intro.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ We created the Mbed command-line tool (Mbed CLI), a Python-based tool, specifica
2121

2222
Mbed OS 5 can be built with various toolchains. The currently supported versions are:
2323

24-
- [Arm Compiler 6.11 (default ARM toolchain)](https://developer.arm.com/products/software-development-tools/compilers/arm-compiler/downloads/version-6), also included in [Keil MDK 5.27](http://www2.keil.com/mdk5/).
24+
- Arm Compiler 6.11 (default ARM toolchain).
25+
- A free version when it's used with Mbed OS is included with [Mbed Studio](https://os.mbed.com/studio/). For information on using this with Mbed CLI, please see the [After installation - configuring Mbed CLI page](../tools/after-installation-configuring-mbed-cli.html).
26+
- A paid version is available as [Arm Compiler 6.11 Professional](https://developer.arm.com/products/software-development-tools/compilers/arm-compiler/downloads/version-6).
27+
- A paid version is also included in [Keil MDK 5.27](http://www2.keil.com/mdk5/).
2528
- [Arm Compiler 5.06 update 6 (to be deprecated in the future)](https://developer.arm.com/products/software-development-tools/compilers/arm-compiler-5/downloads).
2629
- [GNU Arm Embedded version 6 (6-2017-q1-update)](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads).
2730
- [IAR Embedded Workbench 8.32.1](https://www.iar.com/iar-embedded-workbench/tools-for-arm/arm-cortex-m-edition/).

0 commit comments

Comments
 (0)