diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-20 13:29:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-20 13:29:55 +0000 |
commit | baaa338938068cec725f02588fd3b01b4120101b (patch) | |
tree | 615c5f06331819756387860559d6147ff9fd8d48 | |
parent | 31149b2ffb6b73f7d9c6f1e0c2e69c7f244e831d (diff) | |
download | ChibiOS-baaa338938068cec725f02588fd3b01b4120101b.tar.gz ChibiOS-baaa338938068cec725f02588fd3b01b4120101b.tar.bz2 ChibiOS-baaa338938068cec725f02588fd3b01b4120101b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4221 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/ARMCM3-LPC1343-LPCXPRESSO/mcuconf.h | 3 | ||||
-rw-r--r-- | os/hal/platforms/LPC13xx/spi_lld.h | 2 |
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
/**
|