Increase range of pulse count in PWM driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4302 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-01-16 15:43:01 +00:00
parent bd8aa99554
commit 5381a857eb

View File

@ -350,9 +350,9 @@ CONFIG_STM32_ADC3_SAMPLE_FREQUENCY=100
#
# 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 TIM8, CH4.
# Don't forget to enable CONFIG_STM32_TIM8.
# Don't forget to enable CONFIG_PWM and CONFIG_STM32_TIM8.
#
CONFIG_PWM=y
CONFIG_PWM=n
CONFIG_PWM_PULSECOUNT=y
CONFIG_STM32_TIM8_PWM=y
CONFIG_STM32_TIM8_CHANNEL=4