aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-24 18:57:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-24 18:57:38 +0000
commitcafa22293a223e129d6d5ea3bc081fe07e1313be (patch)
tree9e0cdccc2a0cf0e4109476c31cffba962f7a4df9 /nuttx/arch
parente2b2cc34504dfb36ca9d06065ed7046efbfc7d78 (diff)
downloadpx4-firmware-cafa22293a223e129d6d5ea3bc081fe07e1313be.tar.gz
px4-firmware-cafa22293a223e129d6d5ea3bc081fe07e1313be.tar.bz2
px4-firmware-cafa22293a223e129d6d5ea3bc081fe07e1313be.zip
Corrections for SD card on Shenzhou board
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5183 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_idle.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_idle.c b/nuttx/arch/arm/src/stm32/stm32_idle.c
index 0b69ff648..83a6808c5 100644
--- a/nuttx/arch/arm/src/stm32/stm32_idle.c
+++ b/nuttx/arch/arm/src/stm32/stm32_idle.c
@@ -195,8 +195,10 @@ void up_idle(void)
* Enable DMA1 or DMA2 clocks in the RCC_AHBENR register before
* executing the WFI/WFE instruction."
*
- * Here the workaround is just don't go into SLEEP mode for the connectivity
- * line parts if Ethernet is enabled.
+ * Here the workaround is just to avoid SLEEP mode for the connectivity
+ * line parts if Ethernet is enabled. The errate recommends a more
+ * general solution: Enabling DMA1/2 clocking in stm32f10xx_rcc.c if the
+ * STM32107 Ethernet peripheral is enabled.
*/
#if !defined(CONFIG_STM32_CONNECTIVITYLINE) || !defined(CONFIG_STM32_ETHMAC)