ext: nordic: Add NRF_SPIS[0-3] definitions to nrfx_config_nrf9160.h

These entries should have been added in the initial version of
this file (in commit 99bab3f478)
but their absence was overlooked.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2019-02-26 11:24:28 +01:00 committed by Anas Nashif
commit d2735edf65

View file

@ -119,6 +119,23 @@
((NRF_SPIM_Type *)DT_NORDIC_NRF_SPI_SPI_3_BASE_ADDRESS) ((NRF_SPIM_Type *)DT_NORDIC_NRF_SPI_SPI_3_BASE_ADDRESS)
#endif #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 #ifdef DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS
#define NRF_SPU \ #define NRF_SPU \
((NRF_SPU_Type *)DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS) ((NRF_SPU_Type *)DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS)