2021-07-28 08:48 PM
main.c generated by STM32CubeMX 6.3.0
Line 23
#include "usb_device.h"
#include "usb_device.h" Are duplicated.
Then MX_RTC_Init () is missing HAL_RTCEx_SetWakeUpTimer_IT ().
Solved! Go to Solution.
2021-07-29 09:50 AM
Hello @tsuna,
Thanks for having reported.
You're right, I've been able to reproduce the issue. I assume the duplication of #include "usb_device.h" is due to the activation of both USB and FreeRTOS middleware.
This misbehavior will be reported internally to be fixed. I'll keep you posted with the updates.
Sorry for any inconvenience that this may cause.
Meanwhile, trying with the previous STM32CubeMX version 6.2.1, the issue doesn't occur:
Khouloud.
2021-07-29 09:50 AM
Hello @tsuna,
Thanks for having reported.
You're right, I've been able to reproduce the issue. I assume the duplication of #include "usb_device.h" is due to the activation of both USB and FreeRTOS middleware.
This misbehavior will be reported internally to be fixed. I'll keep you posted with the updates.
Sorry for any inconvenience that this may cause.
Meanwhile, trying with the previous STM32CubeMX version 6.2.1, the issue doesn't occur:
Khouloud.