Skip to content

Commit e716a18

Browse files
authored
Merge pull request #654 from danielinux/stm32h5_fix_gtzc1_base
STM32H5: Fixed GTZC1 base address
2 parents 233360d + 660100d commit e716a18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/stm32h5.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@
237237
#define FLASH_NS_SR (*(volatile uint32_t *)(FLASH_NS_BASE + 0x20))
238238
#define FLASH_NS_CR (*(volatile uint32_t *)(FLASH_NS_BASE + 0x28))
239239

240-
#define TZSC_SECCFGR1 *((volatile uint32_t *)(0x50036410))
240+
#define TZSC_SECCFGR1 *((volatile uint32_t *)(0x50032410))
241241
#define TZSC_SECCFGR1_USART3SEC (1 << 14) /* USART3 */
242-
#define TZSC_SECCFGR2 *((volatile uint32_t *)(0x50036414))
242+
#define TZSC_SECCFGR2 *((volatile uint32_t *)(0x50032414))
243243
#define TZSC_SECCFGR2_LPUART1SEC (1 << 25) /* LPUART1 */
244244

245245
/* Mapping FLASH_SECCR for bank swapping */

0 commit comments

Comments
 (0)