Difference between revisions of "How to use an external toolchain with Embedded Studio"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "Embedded Studio offers the option to build project with an external toolchain of your choice. The following guide will show an example implementation of such a setup with the...")
 
(Tag: Redirect target changed)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
#REDIRECT [[Use_an_external_Toolchain_with_Embedded_Studio]]
Embedded Studio offers the option to build project with an external toolchain of your choice. The following guide will show an example implementation of such a setup with the ARM GCC toolchain.
 
 
== Example implementation with external GCC toolchain ==
 
 
* First install the external toolchain of your liking, in this example the currently latest ARM GCC 7-2017-q4-major will be used.
 
* Create a new externally build project using the Embedded Studio project wizard and selecting ''A C/C++ executable for ... processor(internal and external GNU tools)''.
 
[[File:New_Project.png|thumb|New external build project|none]]
 
* Select your target device, next set the toolchain path and finish the project setup by letting all settings on default.
 
* Make sure the memory section placement segments are located in the correct memory areas. This can be found int he Common project settings under Linker-> Section Placement Segments
 
* Now select build configuration "Debug External" and build the project to build with the external toolchain.
 
* If the build succeeds you can download it into your target application and debug it.
 

Latest revision as of 11:40, 20 May 2020