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?
I have to add ::Device:Startup to project ("Manage run-time enviroment" wizard is not happy when I omnit that component) but it's not used ("Include in target build" is unchecked). I do always like this because I have my own startup files.
I reinstalled Keil and now it's working with all my projects. So maybe there was something wrong. Now it's OK. Thank you for help.