I'm wondering why the HAL library does not allow to program an auto wakeup for a STM32F042.
It is not allowed via CubeMX GUI neither.
I've looked into hal files :every function used to init/use the auto wakeup are surrounded by :
#if defined(STM32F070xB) || defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F030xC)
However the Reference Manual RM0091 does not mention any limitation (does it ?).
Also it would be possible for an STM32F072CB but not for a STM32F072C8 ? Why ?
Thank you for your answer.