Difference between revisions of "Migrating projects from Embedded Studio V4 to V5"
(→New Run Time Lib) |
(→New Run Time Lib) |
||
Line 9: | Line 9: | ||
To use the new SEGGER run time library the following project option must be set: Code->Library->Run Time Library->SEGGER |
To use the new SEGGER run time library the following project option must be set: Code->Library->Run Time Library->SEGGER |
||
− | If you are using RTT sources in your application, make sure the |
+ | If you are using RTT sources in your application, make sure the SEGGER_RTT_Syscalls_<ToolChain>.c file is removed. |
=New Linker File= |
=New Linker File= |
Revision as of 13:58, 16 September 2020
With the update of Embedded Studio to version 5 you get access to the new SEGGER Compiler, SEGGER Run Time Library for even smaller and faster code and a updated SEGGER Linker. So if you have an old project that was created with Embedded Studio V4 or older the following must be considered when migrating from V4 to V5. Make sure all points are considered. All referenced files can be found in the Embedded Studio installation folder.
New Startup File
Due to improvements on how the SEGGER toolchain handles the target startup code the Cortex_M_Startup.s and SEGGER_THUMB_Startup.s must be updated. You can find the latest version of this file in your Embedded Studio installation folder under /samples/Cortex_M_Startup.s and /samples/SEGGER_THUMB_Startup.s
New Run Time Lib
To use the new SEGGER run time library the following project option must be set: Code->Library->Run Time Library->SEGGER
If you are using RTT sources in your application, make sure the SEGGER_RTT_Syscalls_<ToolChain>.c file is removed.
New Linker File
The new linker script can be found under /samples/SEGGER_Flash.icf if you are using a Flash based project or /samples/SEGGER_RAM.icf
Assembler Projects
When using an assembler project with the new linker script file make sure the following file is also included in your project /samples/SEGGER_crtinit.s