diff options
-rw-r--r-- | os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h index 6ae9445ec..1cf26434e 100644 --- a/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h +++ b/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.h @@ -64,14 +64,6 @@ #define SAMA_DMA_REQUIRED
#endif
-#if SAMA_SPI_USE_SPI0 && !SAMA_HAS_SPI0
-#error "SPI0 not present in the selected device"
-#endif
-
-#if SAMA_SPI_USE_SPI1 && !SAMA_HAS_SPI1
-#error "SPI1 not present in the selected device"
-#endif
-
#if !SAMA_SPI_USE_SPI0 && !SAMA_SPI_USE_SPI1
#error "SPI driver activated but no SPI peripheral assigned"
#endif
|