On 03/22/2018 08:09 PM, Johannes Hutter wrote:
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?
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