summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/nsh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-10 22:29:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-10 22:29:39 +0000
commit2878c08369c4ac8819e0f6530784f22509bcab92 (patch)
tree92567fed48fbb8c44552b220ab80d17ec19cfba0 /nuttx/configs/stm3240g-eval/nsh
parentb45972d006d34d588ef0bde2ebffb2de5843b0fa (diff)
downloadpx4-nuttx-2878c08369c4ac8819e0f6530784f22509bcab92.tar.gz
px4-nuttx-2878c08369c4ac8819e0f6530784f22509bcab92.tar.bz2
px4-nuttx-2878c08369c4ac8819e0f6530784f22509bcab92.zip
Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4290 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh')
-rwxr-xr-xnuttx/configs/stm3240g-eval/nsh/defconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig
index f71548b5f..daee8cb72 100755
--- a/nuttx/configs/stm3240g-eval/nsh/defconfig
+++ b/nuttx/configs/stm3240g-eval/nsh/defconfig
@@ -349,13 +349,13 @@ CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100
# PWM configuration
#
# The STM3240G-Eval has no real on-board PWM devices, but the board can be configured to output
-# a pulse train using several options (see board.h). Here the default setup is for TIM1, CH1.
-# Don't forget to enable CONFIG_STM32_TIM1
+# a pulse train using several options (see board.h). Here the default setup is for TIM4, CH2.
+# Don't forget to enable CONFIG_STM32_TIM4
#
CONFIG_PWM=n
-CONFIG_PWM_PULSECOUNT=y
-CONFIG_STM32_TIM1_PWM=y
-CONFIG_STM32_TIM1_CHANNEL=1
+CONFIG_PWM_PULSECOUNT=n
+CONFIG_STM32_TIM4_PWM=y
+CONFIG_STM32_TIM4_CHANNEL=2
#
# General build options