Skip to content

Commit 3020126

Browse files
author
Amanda Butler
authored
Merge pull request #945 from SenRamakri/sen_CompilerUpdateDocs
Documentation updates for Toolchain changes
2 parents 586f255 + 311b781 commit 3020126

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

docs/reference/configuration/mbed_targets.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,15 @@ Enabling `is_disk_virtual` adds delay after flashing firmware binary to make sur
192192

193193
#### supported_toolchains
194194

195-
The `supported_toolchains` property is the list of toolchains that support a target. The allowed values for `supported_toolchains` are `ARM`, `uARM`, `ARMC6`, `GCC_ARM` and `IAR`.
195+
The `supported_toolchains` property is the list of toolchains that support a target. The allowed values for `supported_toolchains` are `ARM`, `uARM`, `ARMC5`, `ARMC6`, `GCC_ARM` and `IAR`.
196+
197+
If you specify `ARMC5` in `supported_toolchains`, it means the corresponding target supports `Arm Compiler 5.06 update 6`.
198+
199+
If a target lists both `ARMC5` and `ARM` (or `ARMC6`) in `supported_toolchains`, the Arm Compiler 6.11 will be used when compiling with `ARM` option for `--toolchain`.
200+
201+
<span class="notes">**Note:** Although you can specify `ARMC5` in `supported_toolchains` in `targets.json`, it's not a valid option for `--toolchain` when compiling using [Mbed CLI](../tools/developing-mbed-cli.html).
202+
Arm Compiler 6 is the default ARM toolchain for Mbed OS developmet. Most Mbed OS platforms are already compatible with Arm Compiler 6. Some existing targets still supporting Arm Compiler 5 will be migrated to Arm Compiler 6 in the future. Please be aware that you must use Arm Compiler 6 for future development, and we will validate all code contributions to Mbed OS Arm Compiler 6.
203+
</span>
196204

197205
#### default_toolchain
198206

@@ -427,3 +435,7 @@ The `orphans` command shows all targets that you cannot reach from a public targ
427435
- EFR32MG1P132F256GM48
428436
- EFR32MG1_BRD4150
429437
```
438+
439+
### Related content
440+
441+
- [Developing: Mbed CLI](../tools/developing-mbed-cli.html).

docs/tools/tools_intro.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ 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 5.06 update 6](https://developer.arm.com/products/software-development-tools/compilers/arm-compiler-5/downloads).
24+
- [Arm compiler 6.11](https://developer.arm.com/products/software-development-tools/compilers/arm-compiler/downloads/version-6).
2525
- [GNU Arm Embedded version 6 (6-2017-q1-update)](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads).
26-
- [IAR Embedded Workbench 8.32](https://www.iar.com/iar-embedded-workbench/tools-for-arm/arm-cortex-m-edition/).
26+
- [IAR Embedded Workbench 8.32.1](https://www.iar.com/iar-embedded-workbench/tools-for-arm/arm-cortex-m-edition/).
2727

2828
##### Arm Mbed Online Compiler
2929

30-
The Mbed Online Compiler is our in-house IDE, and should be familiar to anyone who's been working with Mbed for a while. It switches the backing toolchain based on the architecture version:
30+
The Mbed Online Compiler is our in-house IDE and should be familiar to anyone who's been working with Mbed for a while. It switches the backing toolchain based on the architecture version:
3131

3232
| Architecture version | Compiler |
3333
|---- |---- |
34-
| Arm v6M | Arm Compiler 5.06 update 6 |
35-
| Arm v7M | Arm Compiler 5.06 update 6 |
36-
| Arm v7A | Arm Compiler 5.06 update 6 |
37-
| Arm v8M | Arm Compiler 6.10.1 |
34+
| Arm v6M | `Arm Compiler 6.11` or `Arm Compiler 5.06 update 6` based on the ARM toolchain supported by the target (see `supported_toolchains` in [Adding and configuring targets](../reference/configuration/mbed_targets.html#)) |
35+
| Arm v7M | `Arm Compiler 6.11` or `Arm Compiler 5.06 update 6` based on the ARM toolchain supported by the target (see `supported_toolchains` in [Adding and configuring targets](../reference/configuration/mbed_targets.html#)) |
36+
| Arm v7A | `Arm Compiler 6.11` |
37+
| Arm v8M | `Arm Compiler 6.11` |
3838

3939
For more information, please see the [Online Compiler page](developing-mbed-online-compiler.html).
4040

41+
<span class="note"> **Note:** Arm Compiler 6 is the default ARM toolchain for Mbed OS developmet. Most Mbed OS platforms are already compatible with Arm Compiler 6. Some existing targets still supporting Arm Compiler 5 will also be migrated to ARM Compiler 6 in the future. Please be aware that you must use Arm Compiler 6 for future development, and we will validate all code contributions to Mbed OS with Arm Compiler 6. </span>
42+
4143
##### Third party development tools
4244

4345
You can export your project from any of our tools to third party tools. For instructions, as well as tool-specific information, see [the Exporting to third party toolchains page](exporting.html).
46+

0 commit comments

Comments
 (0)