Skip to main content
Uwe Bonnes
Chief
November 1, 2017
Question

Stcube header updates, but old problems.

  • November 1, 2017
  • 2 replies
  • 492 views
Posted on November 01, 2017 at 12:54

Hello,

device headers of new release STM32Cube_FW_F2_V1.7.0 still have defines like

#define GPIO_AFRH_AFSEL13_1 ((uint32_t)0x00200000U)

I reported this misuse for uint32_t in the headers several time, with most other headers removing the superfluous and harmfull 'uint32_t'. Does the F2 header team not care about problems reported to other teams?

Otherwise F205 and F207 still reports a HASH_RNG_IRQ

HASH_RNG_IRQn = 80 /*!< Hash and Rng global interrupt */

} IRQn_Type;

while the Hash is non-functional in F205/F207.

    This topic has been closed for replies.

    2 replies

    Uwe Bonnes
    Chief
    November 1, 2017
    Posted on November 01, 2017 at 17:13

    A closer look shows that only F7 and H7 do not use #define and a unistd.h types together, probably as they where created after my first report.

    Amel NASRI
    Technical Moderator
    November 2, 2017
    Posted on November 02, 2017 at 09:43

    Hi

    Bonnes.Uwe

    ‌,

    I agree with you that the best practice is to check a reported issue/bug across all families/packages.

    Unfortunately, sometimes there is a miss.

    These 2 issues are highlighted again to be fixed in new package version. Thanks for help.

    -Amel

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.