This repo provides the build recipe make files and scripts for building and programming XMC applications. Builds can be run either through a command-line interface (CLI) or through a supported IDE such as Eclipse or VS Code.
This release of the XMC GNU make build recipe includes support for building XMC application projects. It is expected that a code example contains a top level make file for itself and references a Board Support Package (BSP) that defines specific items, like the XMC part, for the target board. Supported functionality includes the following:
- Supported operations:
- Build
- IDE Integration (Eclipse, VS Code, IAR, uVision)
- Supported toolchains:
- GCC
- IAR
- ARM Compiler 6
- Fixed a postbuild dependency that could cause memcalc to fail.
- Optimization for speed changed to optimization for size for the IAR toolchain.
- The feature of setting the default location of the ARM and IAR toolchains has been deprecated.
- Added support for Infineon EdgeProtectTool.
- Added a "last_config" build configuration directory that contains the hex file and elf file from last build.
- VS Code and Eclipse launch configurations now use "last_config" directory. Launch configurations no longer have to be re-generated when switching between "Debug" and "Release".
- Added support for XMC4402.
- Improved stability and bug fixes.
- Minor updates to IDE export.
- Major version update. Significant changes to support ModusToolbox 3.0
- Dropped compatibility with core-make version 1.X and ModusToolbox tools version 2.X
- Added ARM and IAR support (IAR linker scripts are shipped with IAR EW)
- Added support for generating tgz file for Infineon online simulator (core-make-1.8.0 or newer)
- Added support for opening Infineon online simulator through quick panel (core-make-1.8.0 or newer)
- Initial production release
- Initial pre-production release
Builds require that the ModusToolbox tools be installed on your machine. This comes with the ModusToolbox install. On Windows machines, it is recommended that CLI builds be executed using the Cygwin.bat located in ModusToolBox/tools_x.y/modus-shell install directory. This guarantees a consistent shell environment for your builds.
To list the build options, run the "help" target by typing "make help" in CLI. For a verbose documentation on a specific subject type "make help CY_HELP={variable/target}", where "variable" or "target" is one of the listed make variables or targets.
This version of the XMC build system was validated for compatibility with the following Software and Tools:
Software and Tools | Version |
---|---|
ModusToolbox Software Environment | 3.3 |
GCC Compiler | 11.3 |
IAR Compiler | 9.3 |
ARM Compiler | 6.16 |
Minimum required ModusToolbox Software Environment: v3.0
(c) 2019-2024, Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation. All rights reserved.