diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-19 23:06:41 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-19 23:06:41 +0000 |
commit | 5fb7939d769fb3f1f84721cb0056d0cc621f05e2 (patch) | |
tree | eadad8142fada4d8cb57c09e438d6535bbd65d53 /nuttx/configs/stm3240g-eval/nsh/defconfig | |
parent | ef92b45bc404a1aaf0ab43a1603712f9bfc72311 (diff) | |
download | px4-nuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.tar.gz px4-nuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.tar.bz2 px4-nuttx-5fb7939d769fb3f1f84721cb0056d0cc621f05e2.zip |
Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh/defconfig')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/nsh/defconfig | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/defconfig b/nuttx/configs/stm3240g-eval/nsh/defconfig index 52a7ccfa3..8acd5de7c 100755 --- a/nuttx/configs/stm3240g-eval/nsh/defconfig +++ b/nuttx/configs/stm3240g-eval/nsh/defconfig @@ -303,6 +303,18 @@ CONFIG_STM32_ETH_PTP=n CONFIG_STM32_ETHMAC_REGDEBUG=n # +# PWM configuration +# +# The STM3240G-Eval has no real on-board PWM devices, but the board can be configured to output +# a pulse train using TIM4 CH2. This pin is used by FSMC is connect to CN5 just for this +# purpose. +# +CONFIG_PWM=n +CONFIG_STM32_TIM4=y +CONFIG_STM32_TIM4_PWM=y +CONFIG_STM32_TIM4_CHANNEL=2 + +# # General build options # # CONFIG_RRLOAD_BINARY - make the rrload binary format used with @@ -1113,7 +1125,7 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3 # CONFIG_NSH_FATNSECTORS - FAT FS number of sectors # CONFIG_NSH_FATMOUNTPT - FAT FS mountpoint # -CONFIG_NSH_BUILTIN_APPS=n +CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_STRERROR=n CONFIG_NSH_LINELEN=64 |