New in CppDepend 2027
Embedded Projects
Keil uVision, IAR and STM32CubeIDE projects, embedded cross-compilers and vendor extensions recognized automatically.
Real toolchains, no setup pain
- CppDepend now recognizes embedded compilers from their command line:
arm-none-eabi-gccand other gcc cross-compilers, Keil armcc and armclang, IAR, TI, Renesas, Green Hills, Tasking, sdcc, Cosmic, Diab, CodeWarrior and Microchip xc. - Vendor command-line options are translated to the gcc syntax the analyzer expects, including include paths, defines, preincludes and language standards.
- For gcc-style cross-compilers, CppDepend reads the compiler's real built-in include folders and predefined macros. If the compiler is missing, the analysis continues and the log explains what is missing.
- Vendor extensions such as
__interrupt,__root,__packed,__weak,__irqand__no_initno longer break parsing. - A bad project entry no longer stops the whole load. The analysis log lists what was skipped and why.
New project types
- New Embedded row in Code To Analyze with buttons for Keil uVision (
.uvprojx,.uvproj), IAR Embedded Workbench (.ewp) and STM32CubeIDE (.cproject). - Keil and IAR projects import include paths, defines, preincludes, source files and the excluded files of the selected configuration. For Keil this includes the CMSIS pack headers, and IAR project variables such as
$PROJ_DIR$are resolved. - Compilation databases are found automatically for Zephyr, ESP-IDF, PlatformIO and Yocto builds, as well as CMake, Ninja, Bear and Meson.
- Projects written on Windows open on Linux, including different path separators and letter case.
STM32CubeIDE and Eclipse CDT fixes
- Debug and Release settings are no longer merged. Each configuration now uses its own includes and defines.
- STM32
definedsymbolsoptions, forced includes, and-Dflags in the "other flags" options are now read. - Source files follow the configuration's source folders and exclusion lists, and the build output folder is skipped.
- GNU Arm toolchains get their real headers and cpu, fpu and float-abi macros.
- Linux paths in the Eclipse loader and workspace scan are fixed.
