Reduce your code-size with Atollic TrueSTUDIO v5.1!
2 mins read
Reflex Technology announces the release of TrueSTUDIO v5.1, the latest version of the award winning C/C++ development tool for professional ARM® developers. This version features a new compiler/assembler/linker toolchain that focuses on code optimisation and debug efficiency. TrueSTUDIO v5.1 can reduce the code-size by up to 30-40% for debug friendly code, and by up to 10-15% for optimised production code! The compiler now uses DWARF4 as its debug format. This allows developers to debug optimised code with the same ease as code built at lower optimisation levels.
A new optimisation level (-Og) is introduced, giving up to 30-40% smaller code compared to –O0 while still keeping the code debug friendly. The new optimisation level –Og is not active by default and must be enabled manually.
In addition to in-module optimisation improvements, the new compiler introduces whole program analysis and link time optimisation (LTO). This feature by itself can result in a code-size reduction of up to 8-10%. Previously, the compiler optimised the machine code in each C file, but did not analyse the application globally between the different C files. LTO provides this analysis, and enables the toolchain to apply compiler optimisations across the C files, not only inside them. LTO works on select projects and must be enabled explicitly. For more information on how to evaluate LTO, please read this knowledgebase article
http://atollic.com/index.php/kb/1-kb_building/128-link-time
Also, without using LTO or -Og, the code-size optimisations are improved dramatically, with up to 15-20% smaller code on the lowest optimisation levels (the debug friendly -O0) and up to 1-5% smaller code on the highest optimisation levels (the highly optimised but less debug friendly –Os).
In many cases, developers would like to switch to a new version of an IDE in order to take advantage of enhancements in other areas such as debugging, chip support, project manager enhancements etc., but the inclusion of a new compiler would break regression testing protocols on existing projects. With TrueSTUDIO v5.1, developers may now seamlessly switch to the use of one of the older compiler versions from previous TrueSTUDIO releases, while still using the latest version of the IDE. This capability is of particular importance to safety critical projects, as well as any project subject to established testing and build management protocols.
The new TrueSTUDIO v5.1 release also massively improves target support. In particular for Freescale® Kinetis® and STMicroelectronics® STM32® targets. TrueSTUDIO now supports approximately 2500 ARM® devices and 150 evaluation boards from all leading semiconductor vendors. Supported cores are: ARM7™, ARM9™, Cortex™-M0/M0+/M1/M3/M4, Cortex™-R4/R5/R7 and Cortex™-A5/A7/A8/A9/A12/A15.
TrueSTUDIO doubles your development power!
Atollic TrueSTUDIO is the only embedded IDE that includes both a host PC x86 compiler, as well as an ARM compiler for target development, providing you two development tools in one! This feature, described as "super useful" by TrueSTUDIO users, gives considerable flexibility and convenience to developers who can use the built-in PC compiler to develop Windows-PC command line tools and utilities that are used in conjunction with embedded applications development.
For example, digital I/O boards connected to PCs are generally provided with an API that developers can use to turn these boards into systems that can provide real-world stimuli to an embedded target. Using the TrueSTUDIO multiprocessor debugger, both the host Windows PC x86-application and the ARM target application can be debugged simultaneously in the same debugger GUI instance. This would enable a developer for example, to send selected stimuli to the embedded target via the digital I/O board under debugger control from the x86 instance, and observe the results in the embedded target debugger instance. This has been shown to be a highly capable and efficient testing and debugging method.
More information is available at www.atollic.com
If you want see Atollic TrueSTUDIO in action, why not look at our Video Tutorials at http://atollic.com/index.php/videotutorials