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)
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS  ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS

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 https://github.com/zephyrproject-rtos/zephyr/pull/6535/files

Best regards,
Yannis

Join users@lists.zephyrproject.org to automatically receive all group messages.