zephyr/soc/arm/nordic_nrf/nrf51/soc.h
Ulf Magnusson 4e85006ba4 dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf}
generated_dts_board.h is pretty redundant and confusing as a name. Call
it devicetree.h instead.

dts.h would be another option, but DTS stands for "devicetree source"
and is the source code format, so it's a bit confusing too.

The replacement was done by grepping for 'generated_dts_board' and
'GENERATED_DTS_BOARD'.

Two build diagram and input-output SVG files were updated as well, along
with misc. documentation.

hal_ti, mcuboot, and ci-tools updates are included too, in the west.yml
update.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-17 17:57:59 +01:00

30 lines
664 B
C

/*
* Copyright (c) 2016 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file SoC configuration macros for the Nordic nRF51 family processors.
*/
#ifndef _NORDICSEMI_NRF51_SOC_H_
#define _NORDICSEMI_NRF51_SOC_H_
#ifndef _ASMLANGUAGE
#include <nrfx.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#endif /* !_ASMLANGUAGE */
#define NRF51_POWER_RAMON_ADDRESS 0x40000524
#define NRF51_POWER_RAMONB_ADDRESS 0x40000554
#define NRF51_POWER_RAMONx_RAMxON_ONMODE_Msk 0x3
#define FLASH_PAGE_ERASE_MAX_TIME_US 22300UL
#define FLASH_PAGE_MAX_CNT 256UL
#endif /* _NORDICSEMI_NRF51_SOC_H_ */