1 /* 2 * Copyright (c) 2019 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file SoC configuration macros for the 9 * Nordic Semiconductor nRF53 family processors. 10 */ 11 12 #ifndef _NORDICSEMI_NRF53_SOC_H_ 13 #define _NORDICSEMI_NRF53_SOC_H_ 14 15 #include <soc_nrf_common.h> 16 17 #if defined(CONFIG_SOC_NRF5340_CPUAPP) 18 #define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL 19 #define FLASH_PAGE_MAX_CNT 256UL 20 #elif defined(CONFIG_SOC_NRF5340_CPUNET) 21 #define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL 22 #define FLASH_PAGE_MAX_CNT 128UL 23 #endif 24 25 #endif /* _NORDICSEMI_NRF53_SOC_H_ */ 26