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?

Parents
  • Hi Pawel,

    this is apparently an issue in the IDE and it seems to occur when the component ::Device:Startup is not used by the project.

    When you are using the component ::Device:Startup the IDE uses the header files from the Select Packs dialog.

    Can you verify and confirm that this is the behaviour that you are seeing.

    We have raised an problem report internally, so that the issue will get fixed in an upcoming version.

Reply
  • Hi Pawel,

    this is apparently an issue in the IDE and it seems to occur when the component ::Device:Startup is not used by the project.

    When you are using the component ::Device:Startup the IDE uses the header files from the Select Packs dialog.

    Can you verify and confirm that this is the behaviour that you are seeing.

    We have raised an problem report internally, so that the issue will get fixed in an upcoming version.

Children
  • Hi,

    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.