This change is done so that there is no need to additionaly include <nrfx.h> before <soc/nrfx_coredep.h> (what might be a bit surprising) and so that <nrfx_config.h> doesn't need to be include separately for nRF SoCs requiring a special mapping of peripheral accessing symbols. This commit removes also no longer needed inclusions and updates the hal_nordic module with required minor correction of nrfx_glue.h. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
27 lines
555 B
C
27 lines
555 B
C
/*
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file SoC configuration macros for the Nordic Semiconductor nRF52 family processors.
|
|
*/
|
|
|
|
#ifndef _NORDICSEMI_NRF52_SOC_H_
|
|
#define _NORDICSEMI_NRF52_SOC_H_
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
#include <nrf_common.h>
|
|
#include <nrfx.h>
|
|
|
|
/* Add include for DTS generated information */
|
|
#include <generated_dts_board.h>
|
|
|
|
#endif /* !_ASMLANGUAGE */
|
|
|
|
#define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL
|
|
#define FLASH_PAGE_MAX_CNT 256UL
|
|
|
|
#endif /* _NORDICSEMI_NRF52_SOC_H_ */
|