Skip to main content
sukoy27k
Associate II
June 18, 2015
Question

Bug Report stm32l0xx_hal_gpio.c

  • June 18, 2015
  • 2 replies
  • 591 views
Posted on June 18, 2015 at 14:06

Please fix the following bug, stm32l0xx_hal_gpio.c:259 V1.1.2

--- temp &= ~((uint32_t)0x0F) << (4 * (position & 0x03));

+++ temp &= ~( ((uint32_t)0x0F) << (4 * (position & 0x03)) );

Thanks
    This topic has been closed for replies.

    2 replies

    Amel NASRI
    Technical Moderator
    June 22, 2015
    Posted on June 22, 2015 at 12:52

    Hellogennaro82,

    The bug is already reported in

    https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32L0xx%20CUBE%20bug%20GPIO%20EXTI%20config

    . It will be fixed in the package version 1.2.0.

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
    sukoy27k
    sukoy27kAuthor
    Associate II
    June 22, 2015
    Posted on June 22, 2015 at 16:18

    Thx