diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-11 16:01:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-11 16:01:18 +0000 |
commit | d8ccf3795d3ea5a60c8d9a5296091f538afbbe82 (patch) | |
tree | 7914f4d3491b05015565a2b7285c355b8295ae4e /nuttx/configs/stm3240g-eval/nsh/defconfig | |
parent | c9b7fefdae9c6d234f201f2f1311c24664f62f1a (diff) | |
download | px4-nuttx-d8ccf3795d3ea5a60c8d9a5296091f538afbbe82.tar.gz px4-nuttx-d8ccf3795d3ea5a60c8d9a5296091f538afbbe82.tar.bz2 px4-nuttx-d8ccf3795d3ea5a60c8d9a5296091f538afbbe82.zip |
For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4296 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh/defconfig')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/nsh/defconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index daee8cb72..f2eb8a3b6 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 TIM4, CH2. -# Don't forget to enable CONFIG_STM32_TIM4 +# a pulse train using several options (see board.h). Here the default setup is for TIM8, CH4. +# Don't forget to enable CONFIG_STM32_TIM8. # -CONFIG_PWM=n -CONFIG_PWM_PULSECOUNT=n -CONFIG_STM32_TIM4_PWM=y -CONFIG_STM32_TIM4_CHANNEL=2 +CONFIG_PWM=y +CONFIG_PWM_PULSECOUNT=y +CONFIG_STM32_TIM8_PWM=y +CONFIG_STM32_TIM8_CHANNEL=4 # # General build options |