summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/README.txt')
-rwxr-xr-xnuttx/configs/stm3240g-eval/README.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt
index 94581d10b..9702bf03e 100755
--- a/nuttx/configs/stm3240g-eval/README.txt
+++ b/nuttx/configs/stm3240g-eval/README.txt
@@ -596,10 +596,19 @@ Where <subdir> is one of the following:
CONFIG_PWM=y : Enable the generic PWM infrastructure
CONFIG_PWM_PULSECOUNT=n : Disable to support TIM1/8 pulse counts
+ CONFIG_STM32_TIM4=y : Enable TIM4
CONFIG_STM32_TIM4_PWM=y : Use TIM4 to generate PWM output
CONFIG_STM32_TIM4_CHANNEL=2
- See also apps/examples/README.txt
+ Or..
+
+ CONFIG_PWM=y : Enable the generic PWM infrastructure
+ CONFIG_PWM_PULSECOUNT=y : Enable to support TIM1/8 pulse counts
+ CONFIG_STM32_TIM1=y : Enable TIM1
+ CONFIG_STM32_TIM1_PWM=y : Use TIM1 to generate PWM output
+ CONFIG_STM32_TIM1_CHANNEL=1
+
+ See also include/board.h and apps/examples/README.txt
Special PWM-only debug options: