soc: nrf51: Define flash driver name for nRF51
In order to be able to build MCUboot for nRF51 we require the flash driver name in the nRF51 soc.h header. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
cf81893344
commit
90a45d2eca
1 changed files with 5 additions and 0 deletions
|
@ -28,4 +28,9 @@
|
|||
#define FLASH_PAGE_ERASE_MAX_TIME_US 22300UL
|
||||
#define FLASH_PAGE_MAX_CNT 256UL
|
||||
|
||||
/* For IMG_MANAGER */
|
||||
#if defined(CONFIG_SOC_FLASH_NRF5)
|
||||
#define FLASH_DRIVER_NAME FLASH_DEV_NAME
|
||||
#endif
|
||||
|
||||
#endif /* _NORDICSEMI_NRF51_SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue