Version 6.30 introduces stack usage analysis and parallel build as well as integrated static code analysis.
Uppsala, Sweden — IAR Systems has launched a new version of its leading development toolchain IAR Embedded Workbench for Texas Instruments’ ultra-low-power MSP430 microcontrollers. In addition to the add-on product C-STAT for integrated static code analysis, version 6.30 introduces stack usage analysis and faster build times through parallel build.
Stack usage analysis provides details on the maximum stack depth in an application. Calculating the stack space is notoriously hard for all but the smallest embedded systems. This fact makes worst case maximum stack depth very useful information in most embedded projects. Using the stack information now available greatly simplifies estimations of how much stack an application will need. Enabling stack usage analysis in IAR Embedded Workbench for MSP430 MCUs adds a stack usage section to the linker map file with listings of the maximum stack depth for each call graph root. The analysis process can be customized to take into account such constructs as calls via function pointers and recursion. The output can optionally be generated in XML format for post-processing activities.
Static code analysis performs source code level checks that can help developers detect potential code errors in complex applications and ensure compliance with coding standards for embedded applications in various segments. C-STAT is a powerful static analysis tool that executes fast and provides analysis results directly in the IAR Embedded Workbench IDE. It checks compliance with rules as defined by the coding standards MISRA C:2004, MISRA C++:2008 and MISRA C:2012, as well as hundreds of rules based on for example CWE (the Common Weakness Enumeration) and CERT C/C++. C-STAT is available as an add-on product.
To speed up build times, the user can now set the compiler to run in several parallel processes and make better use of the available processor cores in the PC. This feature can have a major impact on reducing the build times of the compiler.
In the debugger, the new version adds advanced mode in the Advanced Cycle Counter. More information about the complete C/C++ compiler and debugger toolchain IAR Embedded Workbench for MSP430 MCUs is available at www.iar.com/ew430.
For more information visit www.misra.org.uk, www.cert.org, and www.iar.com.