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:
parent
a427a40bd0
commit
4d574e7a60
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user