This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM: select software pack

Hi,

Does anybody know how to force version of DFP? I can select libraries verion in "Select Software Packs for Targer ..." window and it's OK. It means - it's selected.

For example I have:
ARM:CMSIS - fixed - 4.5.0
Keil:ARM_Compiler - fixed - 1.0.0
Keil:MDK_Middleware - fixed - 7.0.0
Keil:STM32F4xx_DFP - fixed 2.4.0

Problem is with last position. Except this version I have installed "Keil:STM32F4xx_DFP 2.7.0" but I want 2.4.0 to be used in project. And all files (hal drivers, headers) are from selected versions except uC header file which is from 2.7.0.
In this case I have error:
D:\Keil\ARM\PACK\Keil\STM32F4xx_DFP\2.4.0\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c(427): error: #136: struct "<unnamed>" has no field "BSRRL"
(source file is from 2.4.0 but header is from 2.7.0)

In this case it's easy to correct (only 2 places in stm32f4xx_hal_gpio.c file) but problem remains with older versions. Also I don't want to change something in pack's files.

It is a uVision bug or I cannot set it up correctly?