Posted on April 26, 2018 at 18:07It's very simple and reproducible. If the Write Guard prevents the HAL_RTC_Init call after the uC returns from STANDBY, the STM32 hangs in HAL_PWR_EnterSTOPMode. If the Write Guard is after the call to HAL_RTC_Init, ...
Posted on April 26, 2018 at 01:15I'd just like to second that this is a problem. I'm using 4.25.0, and STM32Cube_FW_L0_V1.10.0 and the 'Write Guard' also encompasses too much. I have a program which looks something like:Do some stuff...HAL_RTCEx_Set...