From 4f494d03276c8a1c4794354bbe49b3f0f0af5d5f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 25 Feb 2012 00:36:28 +0000 Subject: Update STM32 configuration to use TIM8 instead of TIM2 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4423 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/stm32f4discovery/nsh/defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nuttx/configs/stm32f4discovery/nsh/defconfig') diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 051de3862..fead7980d 100755 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -327,11 +327,12 @@ CONFIG_STM32_TIM4_CHANNEL=2 # # Quadrature Encoder configuration. # -# Uses TIM2 (CONFIG_STM32_TIM2=y above) +# Uses TIM2 or TIM8. TIM2 also needs CONFIG_STM32_TIM2=y; TIM8 needs CONFIG_STM_TIM8 above. # # CONFIG_QENCODER=n -CONFIG_STM32_TIM2_QE=y +CONFIG_STM32_TIM2_QE=n +CONFIG_STM32_TIM8_QE=y # # General build options -- cgit v1.2.3