From d2735edf65191cb7a64f885e00097d85ba04d720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82=C4=85bek?= Date: Tue, 26 Feb 2019 11:24:28 +0100 Subject: [PATCH] ext: nordic: Add NRF_SPIS[0-3] definitions to nrfx_config_nrf9160.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These entries should have been added in the initial version of this file (in commit 99bab3f478a0b578549fcb4f13f88ea00baadd73) but their absence was overlooked. Signed-off-by: Andrzej Głąbek --- ext/hal/nordic/nrfx_config_nrf9160.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ext/hal/nordic/nrfx_config_nrf9160.h b/ext/hal/nordic/nrfx_config_nrf9160.h index 43d4f0ed2e0..85f28286fe5 100644 --- a/ext/hal/nordic/nrfx_config_nrf9160.h +++ b/ext/hal/nordic/nrfx_config_nrf9160.h @@ -119,6 +119,23 @@ ((NRF_SPIM_Type *)DT_NORDIC_NRF_SPI_SPI_3_BASE_ADDRESS) #endif +#ifdef DT_NORDIC_NRF_SPIS_SPI_0_BASE_ADDRESS +#define NRF_SPIS0 \ + ((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_0_BASE_ADDRESS) +#endif +#ifdef DT_NORDIC_NRF_SPIS_SPI_1_BASE_ADDRESS +#define NRF_SPIS1 \ + ((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_1_BASE_ADDRESS) +#endif +#ifdef DT_NORDIC_NRF_SPIS_SPI_2_BASE_ADDRESS +#define NRF_SPIS2 \ + ((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_2_BASE_ADDRESS) +#endif +#ifdef DT_NORDIC_NRF_SPIS_SPI_3_BASE_ADDRESS +#define NRF_SPIS3 \ + ((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_3_BASE_ADDRESS) +#endif + #ifdef DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS #define NRF_SPU \ ((NRF_SPU_Type *)DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS)