Skip to content

Commit d2735ed

Browse files
ananglnashif
authored andcommitted
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 99bab3f) but their absence was overlooked. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent b6a31a8 commit d2735ed

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/hal/nordic/nrfx_config_nrf9160.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,23 @@
119119
((NRF_SPIM_Type *)DT_NORDIC_NRF_SPI_SPI_3_BASE_ADDRESS)
120120
#endif
121121

122+
#ifdef DT_NORDIC_NRF_SPIS_SPI_0_BASE_ADDRESS
123+
#define NRF_SPIS0 \
124+
((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_0_BASE_ADDRESS)
125+
#endif
126+
#ifdef DT_NORDIC_NRF_SPIS_SPI_1_BASE_ADDRESS
127+
#define NRF_SPIS1 \
128+
((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_1_BASE_ADDRESS)
129+
#endif
130+
#ifdef DT_NORDIC_NRF_SPIS_SPI_2_BASE_ADDRESS
131+
#define NRF_SPIS2 \
132+
((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_2_BASE_ADDRESS)
133+
#endif
134+
#ifdef DT_NORDIC_NRF_SPIS_SPI_3_BASE_ADDRESS
135+
#define NRF_SPIS3 \
136+
((NRF_SPIS_Type *)DT_NORDIC_NRF_SPIS_SPI_3_BASE_ADDRESS)
137+
#endif
138+
122139
#ifdef DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS
123140
#define NRF_SPU \
124141
((NRF_SPU_Type *)DT_NORDIC_NRF_SPU_SPU_BASE_ADDRESS)

0 commit comments

Comments
 (0)