Keil Logo

µVISION: STM32 PACK Project with MDK-Middleware does not build

Information in this knowledgebase article applies to:

  • MDK-ARM Version 5.11


Building a project for a microcontroller with a STM32xx Device Family Pack (DFP) and the Keil MDK-Middleware Pack versions 6.0 or 6.1 fails.

Software Components that have been selected previously, have a red icon, Component not installed as if the Software Pack that contained this software component has been de-installed.


The Drivers in the current version 1.x of the STM32 Device Family Packs are designed for CMSIS Version 3.20.x and MDK-Middleware V5.1.x. These Drivers for the STM32 peripherals are incompatible with Keil MDK-Middleware Version 6.0 and CMSIS Version 4.1.


Use the Select Pack button in the Manage Run-Time Environment dialog. In this Select Software Packs dialog, make sure the Use all installed software packs (latest versions only) checkbox is not checked, then set the Selection for:

  • ARM:CMSIS to: fixed -- Version 3.20.4
  • Keil::MDK-Middleware to: fixed -- Version 5.1.5

Note: Make sure these versions of the above PACKs are installed. You may download them from MDK5 Software Packs.


Once new Device Family Packs for the STM32 devices are released, the peripheral drivers will be compatible with Keil MDK-Middleware Version 6.0 and CMSIS Version 4.1. The versions of this Device Family Packs will be Version 2 or higher.



Last Reviewed: Friday, October 31, 2014

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.