Skip to main content
Zhou JianQiang
Senior
August 26, 2024
Question

STM32L4 AZRTOS can't use USB device audio class

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.

4 replies

ST Employee
August 28, 2024

Hello @Zhou JianQiang, 

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Zhou JianQiang
Senior
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.

 

Zhou JianQiang
Senior
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.