aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L0xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:46:27 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:46:27 +0000
commita77f1ee7222961d1933ce585dc7f42d443c903d8 (patch)
tree13401dc49f38b2546a88c3e6315d00c8076429c8 /os/hal/ports/STM32/STM32L0xx
parenteaf54ee27ae92ec66d7c787ee647e59abf05bd91 (diff)
downloadChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.tar.gz
ChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.tar.bz2
ChibiOS-a77f1ee7222961d1933ce585dc7f42d443c903d8.zip
Added I2S attributes to STM32 registry entries.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8457 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L0xx')
-rw-r--r--os/hal/ports/STM32/STM32L0xx/stm32_registry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
index 260f91917..4a1ad5acb 100644
--- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h
@@ -163,12 +163,15 @@
/* SPI attributes.*/
#define STM32_HAS_SPI1 TRUE
+#define STM32_SPI1_SUPPORTS_I2S FALSE
#define STM32_SPI1_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 2))
#define STM32_SPI1_RX_DMA_CHN 0x00000010
#define STM32_SPI1_TX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 3))
#define STM32_SPI1_TX_DMA_CHN 0x00000100
#define STM32_HAS_SPI2 TRUE
+#define STM32_SPI2_SUPPORTS_I2S TRUE
+#define STM32_SPI2_I2S_FULLDUPLEX FALSE
#define STM32_SPI2_RX_DMA_MSK (STM32_DMA_STREAM_ID_MSK(1, 4) |\
STM32_DMA_STREAM_ID_MSK(1, 6))
#define STM32_SPI2_RX_DMA_CHN 0x00202000