diff options
Diffstat (limited to 'os/hal/ports/NRF5')
-rw-r--r-- | os/hal/ports/NRF5/LLD/SPIv1/hal_spi_lld.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/NRF5/LLD/SPIv1/hal_spi_lld.c b/os/hal/ports/NRF5/LLD/SPIv1/hal_spi_lld.c index 95bb9b7..3e0bc83 100644 --- a/os/hal/ports/NRF5/LLD/SPIv1/hal_spi_lld.c +++ b/os/hal/ports/NRF5/LLD/SPIv1/hal_spi_lld.c @@ -26,6 +26,11 @@ #if HAL_USE_SPI || defined(__DOXYGEN__)
+#if NRF_SERIES == 52
+#define SPI0_TWI0_IRQn SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQn
+#define SPI1_TWI1_IRQn SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQn
+#endif
+
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/
|