Skip to content

Commit

Permalink
stm32/powerctrl: Define RCC_SR_SFTRSTF flag for H747.
Browse files Browse the repository at this point in the history
  • Loading branch information
iabdalkader authored and dpgeorge committed Dec 7, 2020
1 parent ce9197e commit e9e619f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/stm32/powerctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@

#if defined(STM32H7)
#define RCC_SR RSR
#if defined(STM32H743xx)
#define RCC_SR_SFTRSTF RCC_RSR_SFTRSTF
#elif defined(STM32H747xx)
#define RCC_SR_SFTRSTF RCC_RSR_SFT2RSTF
#endif
#define RCC_SR_RMVF RCC_RSR_RMVF
#else
#define RCC_SR CSR
Expand Down

0 comments on commit e9e619f

Please sign in to comment.