-
Notifications
You must be signed in to change notification settings - Fork 178
Documentation changes for new tools modifications for ARMC5/ARMC6 usage #1024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
iriark01
merged 7 commits into
ARMmbed:development
from
SenRamakri:sen_ToolchainDocsUpdate
Mar 22, 2019
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ffbe7ec
Documentation changes for new tools modficiations for ARMC5/ARMC6 usage
SenRamakri a540c96
Update note in tools_intro.md
c2d89fd
Changes to CLI compile documentation
SenRamakri 3ae82c1
Edit mbed_targets.md
b697950
Clarify note in mbed_targets.md
41c8634
Update docs/reference/configuration/mbed_targets.md
iriark01 176fd2c
Update docs/tools/tools_intro.md
iriark01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,38 +43,11 @@ The Mbed Online Compiler is our in-house IDE and should be familiar to anyone wh | |
| Arm v7A | `Arm Compiler 6.11` | | ||
| Arm v8M | `Arm Compiler 6.11` | | ||
|
||
For more information, please see the [Online Compiler page](developing-mbed-online-compiler.html). | ||
<span class="notes">**Note**: Arm Compiler 6 is the default Arm Compiler version for Mbed OS development, and is [free for use with Mbed OS]((https://os.mbed.com/docs/mbed-os/development/tools/index.html#compiler-versions). Most platforms are already compatible with it; platforms still supporting Arm Compiler 5 will be migrated to Arm Compiler 6. Please do not use Arm Compiler 5 in any new development, as its support will be deprecated in September 2019. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My mistake, in both notes, there are two |
||
.</span> | ||
|
||
<span class="note"> **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. </span> | ||
For more information, please see the [Online Compiler page](developing-mbed-online-compiler.html). | ||
|
||
##### Third party development tools | ||
|
||
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). | ||
|
||
<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. | ||
|
||
To force Arm Compiler 5, you can use the following options: | ||
|
||
- Create or update your `mbed_app.json` as below. This is the recommended method for applications to use Arm Compiler 5. | ||
|
||
``` | ||
{ | ||
"target_overrides": { | ||
"*": { | ||
"target.supported_toolchains": ["ARMC5", "GCC_ARM", "IAR"] | ||
} | ||
} | ||
} | ||
``` | ||
|
||
- For porting a target that cannot use Arm Compiler 6 at this time, modify the `supported_toolchains` entry in `targets.json` to replace all `ARM` and `ARMC6` entries with `ARMC5`: | ||
|
||
``` | ||
"MY_TARGET_NAME": { | ||
"supported_form_factors": [...], | ||
"core": "Cortex-M4", | ||
"supported_toolchains": ["ARMC5", "GCC_ARM", "IAR"], | ||
... | ||
} | ||
``` | ||
</div> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, in both notes, there are two
((
in the link; there should be only one