diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-09 18:23:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-09 18:23:30 +0000 |
commit | 547156a0f3f375205e5302432598b83d26bed715 (patch) | |
tree | 73cafb13ede6e70f6d6fde334e234a34bb8c83f8 /nuttx/configs/stm3240g-eval | |
parent | 0bc978aa032d7bd2a60c577cc261ccdcb8dfd628 (diff) | |
download | px4-nuttx-547156a0f3f375205e5302432598b83d26bed715.tar.gz px4-nuttx-547156a0f3f375205e5302432598b83d26bed715.tar.bz2 px4-nuttx-547156a0f3f375205e5302432598b83d26bed715.zip |
Add basic support for pulse count in the PWM interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4285 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/README.txt | 2 | ||||
-rwxr-xr-x | nuttx/configs/stm3240g-eval/nsh/defconfig | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt index 4ce507244..94581d10b 100755 --- a/nuttx/configs/stm3240g-eval/README.txt +++ b/nuttx/configs/stm3240g-eval/README.txt @@ -595,7 +595,9 @@ Where <subdir> is one of the following: be manually enabled by selecting: CONFIG_PWM=y : Enable the generic PWM infrastructure + CONFIG_PWM_PULSECOUNT=n : Disable to support TIM1/8 pulse counts CONFIG_STM32_TIM4_PWM=y : Use TIM4 to generate PWM output + CONFIG_STM32_TIM4_CHANNEL=2 See also apps/examples/README.txt diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index be648022d..f9c0eb318 100755 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -353,6 +353,7 @@ CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100 # purpose. # CONFIG_PWM=n +CONFIG_PWM_PULSECOUNT=n CONFIG_STM32_TIM4=y CONFIG_STM32_TIM4_PWM=y CONFIG_STM32_TIM4_CHANNEL=2 |