Page 1 of 1

USB CDC demos with latest Chibios do not compile

Posted: Wed Aug 16, 2017 9:25 pm
by nad
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.

Re: USB CDC demos with latest Chibios do not compile

Posted: Thu Aug 17, 2017 6:28 am
by Giovanni
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

Re: USB CDC demos with latest Chibios do not compile

Posted: Thu Aug 17, 2017 11:44 am
by nad
ok great thank you, now it compiles.