summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-16 19:29:41 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-16 19:29:41 +0000
commitb03d1197ae95ef880475e7e4f98e1b8a78340a66 (patch)
tree8773c363dc3d1aa855024325ff36c1fb1bdf16ce /nuttx/configs
parentc41819ee0fa00a0741388d2b02edb370a1360a30 (diff)
downloadpx4-nuttx-b03d1197ae95ef880475e7e4f98e1b8a78340a66.tar.gz
px4-nuttx-b03d1197ae95ef880475e7e4f98e1b8a78340a66.tar.bz2
px4-nuttx-b03d1197ae95ef880475e7e4f98e1b8a78340a66.zip
Add framework for lower half STM32 PWM driver; updates to the STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4192 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-xnuttx/configs/stm3210e-eval/README.txt35
-rwxr-xr-xnuttx/configs/stm3240g-eval/README.txt40
2 files changed, 74 insertions, 1 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt
index 25496db2d..eb7c49b95 100755
--- a/nuttx/configs/stm3210e-eval/README.txt
+++ b/nuttx/configs/stm3210e-eval/README.txt
@@ -481,7 +481,40 @@ STM3210E-EVAL-specific Configuration Options
CONFIG_STM32_FORCEPOWER
- Alternate pin mappings (should not be used with the STM3210E-EVAL board):
+ Timer devices may be used for different purposes. One special purpose is
+ to generate modulated outputs for such things as motor control. If CONFIG_STM32_TIMn
+ is defined (as above) then the following may also be defined to indicate that
+ the timer is intended to be used for pulsed output modulation, ADC conversion,
+ or DAC conversion.
+
+ CONFIG_STM32_TIM1_PWM
+ CONFIG_STM32_TIM2_PWM
+ CONFIG_STM32_TIM3_PWM
+ CONFIG_STM32_TIM4_PWM
+ CONFIG_STM32_TIM5_PWM
+ CONFIG_STM32_TIM6_PWM
+ CONFIG_STM32_TIM7_PWM
+ CONFIG_STM32_TIM8_PWM
+
+ CONFIG_STM32_TIM1_ADC
+ CONFIG_STM32_TIM2_ADC
+ CONFIG_STM32_TIM3_ADC
+ CONFIG_STM32_TIM4_ADC
+ CONFIG_STM32_TIM5_ADC
+ CONFIG_STM32_TIM6_ADC
+ CONFIG_STM32_TIM7_ADC
+ CONFIG_STM32_TIM8_ADC
+
+ CONFIG_STM32_TIM1_DAC
+ CONFIG_STM32_TIM2_DAC
+ CONFIG_STM32_TIM3_DAC
+ CONFIG_STM32_TIM4_DAC
+ CONFIG_STM32_TIM5_DAC
+ CONFIG_STM32_TIM6_DAC
+ CONFIG_STM32_TIM7_DAC
+ CONFIG_STM32_TIM8_DAC
+
+ Alternate pin mappings (should not be used with the STM3210E-EVAL board):
CONFIG_STM32_TIM1_FULL_REMAP
CONFIG_STM32_TIM1_PARTIAL_REMAP
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt
index 78b384c31..257cb95e0 100755
--- a/nuttx/configs/stm3240g-eval/README.txt
+++ b/nuttx/configs/stm3240g-eval/README.txt
@@ -360,7 +360,47 @@ STM3240G-EVAL-specific Configuration Options
CONFIG_STM32_FORCEPOWER
+ Timer devices may be used for different purposes. One special purpose is
+ to generate modulated outputs for such things as motor control. If CONFIG_STM32_TIMn
+ is defined (as above) then the following may also be defined to indicate that
+ the timer is intended to be used for pulsed output modulation, ADC conversion,
+ or DAC conversion.
+
+ CONFIG_STM32_TIM1_PWM
+ CONFIG_STM32_TIM2_PWM
+ CONFIG_STM32_TIM3_PWM
+ CONFIG_STM32_TIM4_PWM
+ CONFIG_STM32_TIM5_PWM
+ CONFIG_STM32_TIM6_PWM
+ CONFIG_STM32_TIM7_PWM
+ CONFIG_STM32_TIM8_PWM
+ CONFIG_STM32_TIM9_PWM
+ CONFIG_STM32_TIM10_PWM
+ CONFIG_STM32_TIM11_PWM
+ CONFIG_STM32_TIM12_PWM
+ CONFIG_STM32_TIM13_PWM
+ CONFIG_STM32_TIM14_PWM
+
+ CONFIG_STM32_TIM1_ADC
+ CONFIG_STM32_TIM2_ADC
+ CONFIG_STM32_TIM3_ADC
+ CONFIG_STM32_TIM4_ADC
+ CONFIG_STM32_TIM5_ADC
+ CONFIG_STM32_TIM6_ADC
+ CONFIG_STM32_TIM7_ADC
+ CONFIG_STM32_TIM8_ADC
+
+ CONFIG_STM32_TIM1_DAC
+ CONFIG_STM32_TIM2_DAC
+ CONFIG_STM32_TIM3_DAC
+ CONFIG_STM32_TIM4_DAC
+ CONFIG_STM32_TIM5_DAC
+ CONFIG_STM32_TIM6_DAC
+ CONFIG_STM32_TIM7_DAC
+ CONFIG_STM32_TIM8_DAC
+
JTAG Enable settings (by default JTAG-DP and SW-DP are disabled):
+
CONFIG_STM32_JTAG_FULL_ENABLE - Enables full SWJ (JTAG-DP + SW-DP)
CONFIG_STM32_JTAG_NOJNTRST_ENABLE - Enables full SWJ (JTAG-DP + SW-DP)
but without JNTRST.