diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-09 21:34:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-09 21:34:58 +0000 |
commit | bfd6e961c47c3572c7c409c296b345966634c217 (patch) | |
tree | b8b6b86209167f5a7c4556abe884221e12a45095 /nuttx/configs/stm3240g-eval/nsh/defconfig | |
parent | ed93fd7399d11571a4cf214fadcd671a8e2f5d50 (diff) | |
download | px4-nuttx-bfd6e961c47c3572c7c409c296b345966634c217.tar.gz px4-nuttx-bfd6e961c47c3572c7c409c296b345966634c217.tar.bz2 px4-nuttx-bfd6e961c47c3572c7c409c296b345966634c217.zip |
Finish PWM pulse count configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4287 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh/defconfig')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/nsh/defconfig | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index f9c0eb318..f71548b5f 100755 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -349,14 +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 TIM4 CH2. This pin is used by FSMC is connect to CN5 just for this -# purpose. +# 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 # CONFIG_PWM=n -CONFIG_PWM_PULSECOUNT=n -CONFIG_STM32_TIM4=y -CONFIG_STM32_TIM4_PWM=y -CONFIG_STM32_TIM4_CHANNEL=2 +CONFIG_PWM_PULSECOUNT=y +CONFIG_STM32_TIM1_PWM=y +CONFIG_STM32_TIM1_CHANNEL=1 # # General build options |