Installing the AC5 toolchain to Keil® MDK for non-AC6 STM32CubeMX compatible projects
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.

