Re: USB on STM32

Yannis Damigos

On 03/22/2018 08:09 PM, Johannes Hutter wrote:
Hello guys,

I have trouble getting the usb/cdc_acm sample running on the nucleo_f411re. During the build I get errors of a couple of undeclared macros. For example:

 error: ‘ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS’ undeclared here (not in a function)

Is it possible that there is part of the stm HAL needed for USB missing?

Hi Joe,

USB is not enabled on nucleo_f411re. It should be easy to enable it.
Check the following link

Best regards,

Join to automatically receive all group messages.