µVISION: STM32 PACK Project with MDK-Middleware does not build
Information in this knowledgebase article applies to:
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, 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:
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
of your data.