Important Notice for Keil® MDK Users
Default toolchain update
Keil® MDK version 5.37 and later:
- Default toolchain: Arm Compiler 6 (AC6)
- Deprecated toolchain: Arm Compiler 5 (AC5)
Compatibility alert
If you’re working on STM32 projects generated using STM32CubeMX, be aware that the following STM32 products may not be compatible with AC6, potentially leading to compilation errors. As in the illustrated example below, an error message could be: "Target 'x' uses ARM-Compiler 'V5.06 update 7 (build 960)' which is not available."
Affected products
- STM32Fx, STM32L(0x, 1x, 4x)
- STM32H7(2x, 3x, 4x, 5x, Ax, Bx)
- STM32Gx, STM32WB(1x, 3x, 5x)
- STM32MP15x
Steps to install and use Arm Compiler 5
- Manual download: Download Arm Compiler 5 manually from this link.
- Installation guide: Follow the step-by-step instructions available in this guide to add Arm Compiler 5 to Keil® MDK 5.37 or newer.
- Select AC5: Once installed, you can select AC5 as the Arm Compiler in your project settings.
By following these steps, you can continue using Arm Compiler 5 and avoid potential issues with your STM32 projects.