Merged in antmerlino/nuttx/stm32f2-write-protect (pull request #762)

arch/arm/stm32: stm32_flash_writeprotect supported the same for STM32F20XX as STM32F4XXX

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Anthony Merlino 2018-11-17 17:29:29 +00:00 committed by GregoryN
parent a427a40bd0
commit 4d574e7a60

View File

@ -498,7 +498,7 @@
void stm32_flash_lock(void);
void stm32_flash_unlock(void);
#ifdef CONFIG_STM32_STM32F4XXX
#if defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F4XXX)
int stm32_flash_writeprotect(size_t page, bool enabled);
#endif