Skip to main content
February 5, 2020
Question

[Bug found] usbh_hid_keybd.h: Missing link with underline character

  • February 5, 2020
  • 4 replies
  • 1130 views

File: RootProject\Middlewares\ST\STM32_USB_Host_Library\Class\HID\Inc\usbh_hid_keybd.h

#define KEY_CAPS LOCK 0x39

    This topic has been closed for replies.

    4 replies

    Super User
    February 5, 2020

    You did not tell us which STM32 model, but indeed, I just went randomly to https://github.com/STMicroelectronics/STM32CubeL4/blob/master/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Inc/usbh_hid_keybd.h and lines 106, 110 and 124 all contain the same bug, so I guess this goes across all/several Cubes.

    JW

    @Amel NASRI​ 

    Technical Moderator
    February 5, 2020

    Hello @Community member​  & @rtek1000​ ,

    Thanks for bringing these errors to our attention. Adding @Ons KOOLI​  on the loop to take required actions.

    -Amel

    Visitor II
    February 7, 2020

    Hello all,

    Thank you for mentioning this.

    This will be fixed soon for USB Host library.

    Regards,

    Ons.

    February 8, 2020

    Thank you for your attention!

    About the USB Host library: Is there any example of use for the HS and FS ports independently with the use of RTOS, or without the use of RTOS?

    I tried to use the two ports independently, the USB HS with a pendrive (MSC) and the USB FS with a keyboard (HID), but I couldn't.

    It only works if the ports are treated in sequence, but not in parallel.

    From what I could see, the HAL libraries are shared, the two ports use the same HAL functions.

    The same goes for other hardware, such as SPI, I2C etc.

    Thank you.

    Visitor II
    February 14, 2020

    Hi rtek1000,

    Could you please transform this comment into a new question in the forum?

    Making the necessary tags will help you get a faster dedicated answer.

    Thank you,

    Ons.

    Super User
    February 7, 2020

    Thanks, Amel and Ons.

    JW