USB CDC demos with latest Chibios do not compile

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

nad
Posts: 30
Joined: Fri Dec 16, 2011 9:20 am

USB CDC demos with latest Chibios do not compile

Postby nad » Wed Aug 16, 2017 9:25 pm

Hello,
I am trying to make USB-CDC to work on the Discovery board (STM32F407), trying to use the usbcfg.c from some of the demo code does not find some function definitions with version 17.6.0:
sduSuspendHookI
sduWakeupHookI

Example based on: ChibiOS_17.6.0/community/demos/STM32/RT-STM32F429-DISCOVERY-DMA2D

I think some functions were renamed without the demos being updates. Can anyone help?

Thank you.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: USB CDC demos with latest Chibios do not compile

Postby Giovanni » Thu Aug 17, 2017 6:28 am

Hi,

Code in the community directory is not actively maintained, just provided as-is, you should look at CDC demos under /testhal/STM32 and take usbcfg files from there.

Giovanni

nad
Posts: 30
Joined: Fri Dec 16, 2011 9:20 am

Re: USB CDC demos with latest Chibios do not compile

Postby nad » Thu Aug 17, 2017 11:44 am

ok great thank you, now it compiles.


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 9 guests