Skip to content

Commit 828a53a

Browse files
committed
chore(wb0): backup register support
Signed-off-by: Frederic Pillon <[email protected]>
1 parent dc9119f commit 828a53a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/SrcWrapper/inc/backup.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@ static inline void resetBackupDomain(void)
6969
*/
7070
HAL_PWR_EnableBkUpAccess();
7171
#endif
72+
#if defined(__HAL_RCC_BACKUPRESET_FORCE)
7273
__HAL_RCC_BACKUPRESET_FORCE();
7374
__HAL_RCC_BACKUPRESET_RELEASE();
75+
// TBD: WB0 enable RTC Clock ?
76+
#endif
7477
}
7578

7679
static inline void enableBackupDomain(void)

0 commit comments

Comments
 (0)