Replace REDLINK upload method with LINKSERVER #186
Merged
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.
Summary of changes
Recently, NXP released their upload method, internally called Redlink, as a standalone tool, LinkServer. This tool has a much better documented API (yay!) and can be installed without also pulling in the massive MCUXpresso IDE (double yay!).
This PR updates Mbed to use LinkServer for flashing MIMXRT targets instead of Redlink.
Impact of changes
Mbed now uses the supported LinkServer application for debugging NXP devices instead of relying on MCUXpresso IDE internal tools which are not documented or intended for public consumption.
Migration actions required
People using the REDLINK upload method will need to switch to LINKSERVER. This is pretty straightforward, you just have to:
-DUPLOAD_METHOD=LINKSERVER
to CMake instead of-DUPLOAD_METHOD=REDLINK
Documentation
Updated https://github.com/mbed-ce/mbed-os/wiki/Upload-Methods
Pull request type
Test results
Working on running greentea tests locally using LinkServer.
Reviewers