platform-ststm32: v5.7.0.... undefined reference to `ep_def' when linking?

New 5.7.0 […] Linking .pio\build\XXX\firmware.elf

.pio/build/XXX/FrameworkArduino/stm32/usb/usbd_conf.c.o: In function USBD_LL_Init': C:\Users\Lino Barreca\.platformio\packages\framework-arduinoststm32\cores\arduino\stm32\usb/usbd_conf.c:520: undefined reference to ep_def’

Is this a bug or am I doing something wrong?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

The latest v3.10700.191028 now automatically appends HAL_PCD_MODULE_ENABLED if any type of USB is enabled (as in Arduino IDE).

@valeros I will be out of country until tuesday. Finally some vacation for me too. I am finishing some other changes to the “NewTimer” branch and I will start looking at it again on oct 29. put this on hold, please. I’ll be back next week.