Skip to main content
Explorer
August 26, 2024
Question

STM32L4 AZRTOS can't use USB device audio class

  • August 26, 2024
  • 2 replies
  • 935 views

Hi :

I want to use audio class with AZRTOS, but even I select audio, I still can't find audio in middleware.

ZhouJianQiang_0-1724666569585.png

 

    This topic has been closed for replies.

    2 replies

    ST Employee
    August 28, 2024

    Hello @Zhou JianQiang

    I think there is a dependency with USBX, have you enabled that? 

    Explorer
    September 2, 2024

    Hi @Sarra.S :

    Yes, I enabled that.

    Can you help confirm the answer of @Mohamed_AYED  ?

    Explorer
    August 28, 2024

    Hi @Zhou JianQiang ,

    USBX Audio 1.0/2.0 class support with cubemx x-cube-azrtos packs is only availble with H7 pack in last release. 

     

    You can generate the skeleton of your prject with L4 pack, then use H7 pack to generate app files (init and descriptor files) and include them in your prject manually.

     

    Explorer
    September 2, 2024

    Hi @Mohamed_AYED :

    Thank you for your advice.

    Yes, I know the USBX Audio 1.0/2.0 class of H7 is ok.

    But I still want to confirm with ST official.