Skip to main content
Bruno Hu
Associate II
Jan 24, 2018 12:26 AM UTC
Solved

STM32Cubemx 4.24.0 F1 series RTC module bug

Posted on January 24, 2018 at 01:26

STM32CubeMX upgrade to 4.24.0 version, STM32F1 series RTC module will be garbled. Unable to compile.

the details as attached file.

    This topic has been closed for replies.
    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    Mar 20, 2018 4:45 PM UTC
    Posted on March 20, 2018 at 17:45

    Hello

    Hu.Bruno

    ,

    This issue is now fixed in the current CubeMX release.

    Please, upgrade with CubeMX4.25 if not already done.

    BR. Jeanne

    4 replies

    Tomasz Majoch
    Visitor II
    Jan 24, 2018 11:02 AM UTC
    Posted on January 24, 2018 at 12:02

    https://community.st.com/0D70X000006SlyQSAS

    Bruno Hu
    Bruno HuAuthor
    Associate II
    Jan 27, 2018 6:39 AM UTC
    Posted on January 27, 2018 at 07:39

    Steps

    1) Set the chip model stm32f1 series

    2) stm32cubemx project-> setting-> code generator-> Generate files

    3) Check 'Generate peripheral initialization as a pair of '.c / .h / files per peripheral'

    4) Check Pinout-> RTC-> Activate Clock Source

    5) generate a separate rtc.c file, open the rtc.c file, the file internal error
    Sirma Siang
    ST Employee
    Jan 30, 2018 10:11 AM UTC
    Posted on January 30, 2018 at 10:11

    Hello

    Hu.Bruno

    ,

    First I thank you for your bug report.

    I confirm this bug, and the correction will be integrated in CubeMX4.

    You can refer to the following post, and its answer, to see how to correct it in the mean time.

    https://community.st.com/0D50X00009XkgPESAZ

    Kind regards

    Sirma

    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    Mar 20, 2018 4:45 PM UTC
    Posted on March 20, 2018 at 17:45

    Hello

    Hu.Bruno

    ,

    This issue is now fixed in the current CubeMX release.

    Please, upgrade with CubeMX4.25 if not already done.

    BR. Jeanne