cancel
Showing results for 
Search instead for 
Did you mean: 

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

 

4 REPLIES 4
Sarra.S
ST Employee

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.

Mohamed_AYED
Associate III

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.

 

Hi @Sarra.S :

Yes, I enabled that.

Can you help confirm the answer of @Mohamed_AYED  ?

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.