From 2a3852fc7572946d3baf34586c4c99d4f27c8b2a Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Wed, 23 Jan 2019 13:47:18 +0100 Subject: [PATCH] soc: nrf: add include of nrfx_config_nrf9160.h in nrf9160 soc.h In soc.h of nRF9160 SoC we need to explicitly include nrfx_config_nrf9160.h to have the standard peripheral base address macro mappings in Zephyr builds for nRF9160 SoC. (We need to do this spefically for nRF9160, as those macros are not present in the nRF9160 MDK header). Signed-off-by: Ioannis Glaropoulos --- soc/arm/nordic_nrf/nrf91/soc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soc/arm/nordic_nrf/nrf91/soc.h b/soc/arm/nordic_nrf/nrf91/soc.h index ef8c3fd383a..d2dcc14c41b 100644 --- a/soc/arm/nordic_nrf/nrf91/soc.h +++ b/soc/arm/nordic_nrf/nrf91/soc.h @@ -18,6 +18,9 @@ /* Add include for DTS generated information */ #include +/* Add include for peripheral base address mappings */ +#include + #endif /* !_ASMLANGUAGE */ #define FLASH_PAGE_ERASE_MAX_TIME_US 89700UL