diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-18 13:46:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-18 13:46:06 +0000 |
commit | c46634d324e3b2f4abcd6332b06a4545fa74f428 (patch) | |
tree | dbbac067c4768c761c9ec8a44eb0bea01efbf60d /os/hal/platforms/STM32 | |
parent | 511d0b242849e9e6e202f9fb726d4935695b06af (diff) | |
download | ChibiOS-c46634d324e3b2f4abcd6332b06a4545fa74f428.tar.gz ChibiOS-c46634d324e3b2f4abcd6332b06a4545fa74f428.tar.bz2 ChibiOS-c46634d324e3b2f4abcd6332b06a4545fa74f428.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1431 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32')
-rw-r--r-- | os/hal/platforms/STM32/serial_lld.c | 3 | ||||
-rw-r--r-- | os/hal/platforms/STM32/spi_lld.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.c b/os/hal/platforms/STM32/serial_lld.c index 38a06b266..5d2aea67a 100644 --- a/os/hal/platforms/STM32/serial_lld.c +++ b/os/hal/platforms/STM32/serial_lld.c @@ -212,17 +212,14 @@ void sd_lld_init(void) { #if USE_STM32_USART1
sdObjectInit(&SD1, NULL, notify1);
- GPIOA->CRH = (GPIOA->CRH & 0xFFFFF00F) | 0x000004B0;
#endif
#if USE_STM32_USART2
sdObjectInit(&SD2, NULL, notify2);
- GPIOA->CRL = (GPIOA->CRL & 0xFFFF00FF) | 0x00004B00;
#endif
#if USE_STM32_USART3
sdObjectInit(&SD3, NULL, notify3);
- GPIOB->CRH = (GPIOB->CRH & 0xFFFF00FF) | 0x00004B00;
#endif
}
diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c index 0a3876464..64343c8d7 100644 --- a/os/hal/platforms/STM32/spi_lld.c +++ b/os/hal/platforms/STM32/spi_lld.c @@ -192,7 +192,6 @@ void spi_lld_init(void) { SPID1.spd_dmarx = DMA1_Channel2;
SPID1.spd_dmatx = DMA1_Channel3;
SPID1.spd_dmaprio = STM32_SPI1_DMA_PRIORITY << 12;
- GPIOA->CRL = (GPIOA->CRL & 0x000FFFFF) | 0xB4B00000;
#endif
#if USE_STM32_SPI2
@@ -204,7 +203,6 @@ void spi_lld_init(void) { SPID2.spd_dmarx = DMA1_Channel4;
SPID2.spd_dmatx = DMA1_Channel5;
SPID2.spd_dmaprio = STM32_SPI2_DMA_PRIORITY << 12;
- GPIOB->CRH = (GPIOB->CRH & 0x000FFFFF) | 0xB4B00000;
#endif
}
|