2019-08-02 02:47:31 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file SoC configuration macros for the
|
|
|
|
* Nordic Semiconductor nRF53 family processors.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NORDICSEMI_NRF53_SOC_H_
|
|
|
|
#define _NORDICSEMI_NRF53_SOC_H_
|
|
|
|
|
2020-12-12 05:57:57 +08:00
|
|
|
#include "../soc_nrf_common.h"
|
2019-08-02 02:47:31 +08:00
|
|
|
|
2019-08-07 16:52:32 +08:00
|
|
|
#if defined(CONFIG_SOC_NRF5340_CPUAPP)
|
2019-08-02 02:47:31 +08:00
|
|
|
#define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL
|
|
|
|
#define FLASH_PAGE_MAX_CNT 256UL
|
2019-08-07 16:52:32 +08:00
|
|
|
#elif defined(CONFIG_SOC_NRF5340_CPUNET)
|
2021-05-26 19:43:34 +08:00
|
|
|
#define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL
|
2019-08-07 16:52:32 +08:00
|
|
|
#define FLASH_PAGE_MAX_CNT 128UL
|
|
|
|
#endif
|
2019-08-02 02:47:31 +08:00
|
|
|
|
|
|
|
#endif /* _NORDICSEMI_NRF53_SOC_H_ */
|