aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h3
-rw-r--r--os/hal/platforms/LPC13xx/spi_lld.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h b/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
index 5b486fe63..705867013 100644
--- a/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
+++ b/demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h
@@ -74,7 +74,10 @@
* SPI driver system settings.
*/
#define LPC13xx_SPI_USE_SSP0 TRUE
+#define LPC13xx_SPI_USE_SSP1 FALSE
#define LPC13xx_SPI_SSP0CLKDIV 1
+#define LPC13xx_SPI_SSP1CLKDIV 1
#define LPC13xx_SPI_SSP0_IRQ_PRIORITY 5
+#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 5
#define LPC13xx_SPI_SSP_ERROR_HOOK(spip) chSysHalt()
#define LPC13xx_SPI_SCK0_SELECTOR SCK0_IS_PIO2_11
diff --git a/os/hal/platforms/LPC13xx/spi_lld.h b/os/hal/platforms/LPC13xx/spi_lld.h
index 6277b891f..2d54b83ac 100644
--- a/os/hal/platforms/LPC13xx/spi_lld.h
+++ b/os/hal/platforms/LPC13xx/spi_lld.h
@@ -152,7 +152,7 @@
* @brief SPI1 interrupt priority level setting.
*/
#if !defined(LPC13xx_SPI_SSP1_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 1
+#define LPC13xx_SPI_SSP1_IRQ_PRIORITY 5
#endif
/**