This commit removes the direct inclusions of device.h or gpio.h from soc.h header files in ARM SOCs, to avoid soc.h include kernel.h. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
28 lines
583 B
C
28 lines
583 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 <nrf.h>
|
|
#include <kernel_includes.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_ */
|