Merged in david_s5/nuttx/upstream_f4_flash (pull request #403)
stm32:flash add CONFIG_STM32_STM32F469 to list defining OPTCR1 Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
308aad0c2f
@ -254,7 +254,8 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_STM32_STM32F427) || defined(CONFIG_STM32_STM32F429)
|
#if defined(CONFIG_STM32_STM32F427) || defined(CONFIG_STM32_STM32F429) || \
|
||||||
|
defined(CONFIG_STM32_STM32F469)
|
||||||
# define STM32_FLASH_OPTCR1_OFFSET 0x0018
|
# define STM32_FLASH_OPTCR1_OFFSET 0x0018
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -287,7 +288,8 @@
|
|||||||
# elif defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX)
|
# elif defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F40XX)
|
||||||
# define STM32_FLASH_OPTCR (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR_OFFSET)
|
# define STM32_FLASH_OPTCR (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR_OFFSET)
|
||||||
# endif
|
# endif
|
||||||
# if defined(CONFIG_STM32_STM32F427) || defined(CONFIG_STM32_STM32F429)
|
# if defined(CONFIG_STM32_STM32F427) || defined(CONFIG_STM32_STM32F429) || \
|
||||||
|
defined(CONFIG_STM32_STM32F469)
|
||||||
# define STM32_FLASH_OPTCR1 (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR1_OFFSET)
|
# define STM32_FLASH_OPTCR1 (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR1_OFFSET)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user