Skip to main content
Sidlauskas.David
Associate III
August 2, 2016
Question

STM32CubeMX How to Revert to Older Library Version

  • August 2, 2016
  • 3 replies
  • 2329 views
Posted on August 02, 2016 at 04:52

I upgrader to the latest version of the CubeMX library for the F446 and now DCMI doesn't work. Don't have time to chase it down so I'd like to revert to using a previous library version.

I tried using the library manager to delete the latest version and use an earlier version, but that didn't work. The compiler found many missing files in the generated project.

Can anyone tell me how to do a library revert?

Thanks,

Dave
    This topic has been closed for replies.

    3 replies

    Nesrine M_O
    Associate
    August 2, 2016
    Posted on August 02, 2016 at 11:50

    Hi Dave, 

    CubeMx tool always use the last firmware release/versions of STM32Cube packages and automatically notify the user for the new ones before code generation. 

    -Syrine-

    Sidlauskas.David
    Associate III
    August 3, 2016
    Posted on August 03, 2016 at 17:24

    What I did was to open the project.ioc file an editor and found the line:

    ProjectManager.FirmwarePackage=STM32Cube FW_F4 V1.11.0

    I just changed the firmware rev level to correspond to the package I wanted. When I then ran cubeMX it used the desired down-rev package and the project compiled and ran as I expected.

    Dave