Skip to content

Commit aad083e

Browse files
committed
Revert "Move porting content out of tools_intro.md"
This reverts commit 1a8c222.
1 parent 1a8c222 commit aad083e

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

docs/tools/tools_intro.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,17 @@ The Mbed Online Compiler is our in-house IDE and should be familiar to anyone wh
3939

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

42+
<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>
43+
4244
##### Third party development tools
4345

4446
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).
4547

46-
<div style="background-color:#F3F3F3; text-align:left; vertical-align: middle; padding:15px 30px;"> **Note:** Arm Compiler 6 is the default ARM toolchain for Mbed OS development. 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. We encourage you to switch to Arm Compiler 6 soon because we will deprecate Arm Compiler 5 support in the future. However, if you need to update to Mbed OS 5.12 but still require compiling with Arm Compiler 5 until you are in possession of Arm Compiler 6, we provide methods to override the Arm toolchain version. If you do this, your target may not be able to compile with Arm Compiler 5, or you may see undefined behaviors.
48+
<div style="background-color:#F3F3F3; text-align:left; vertical-align: middle; padding:15px 30px;"> **Note:** We encourage you to switch to Arm Compiler 6 soon because we will deprecate Arm Compiler 5 support in the future. However, if you need to update to Mbed OS 5.12 but still require compiling with Arm Compiler 5 until you are in possession of Arm Compiler 6, we provide methods to override the Arm toolchain version. If you do this, your target may not be able to compile with Arm Compiler 5, or you may see undefined behaviors.
49+
50+
To force Arm Compiler 5, you can use the following options:
4751

48-
To force Arm Compiler 5, you can create or update your `mbed_app.json` with:
52+
- Create or update your `mbed_app.json` with:
4953

5054
```
5155
{
@@ -56,4 +60,15 @@ To force Arm Compiler 5, you can create or update your `mbed_app.json` with:
5660
}
5761
}
5862
```
63+
64+
- Modify the `supported_toolchains` entry in targets.json to replace all `ARM`, `ARMC6` entries with `ARMC5`:
65+
66+
```
67+
"MY_TARGET_NAME": {
68+
"supported_form_factors": [...],
69+
"core": "Cortex-M4",
70+
"supported_toolchains": ["ARMC5", "GCC_ARM", "IAR"],
71+
...
72+
}
73+
```
5974
</div>

0 commit comments

Comments
 (0)