From 5fb7939d769fb3f1f84721cb0056d0cc621f05e2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Dec 2011 23:06:41 +0000 Subject: Add a test for PWM drivers git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/stm3240g-eval/include/board.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'nuttx/configs/stm3240g-eval/include') diff --git a/nuttx/configs/stm3240g-eval/include/board.h b/nuttx/configs/stm3240g-eval/include/board.h index 663ad7eda..ba1016910 100755 --- a/nuttx/configs/stm3240g-eval/include/board.h +++ b/nuttx/configs/stm3240g-eval/include/board.h @@ -263,6 +263,19 @@ #define GPIO_ETH_RMII_TXD0 GPIO_ETH_RMII_TXD0_2 #define GPIO_ETH_RMII_TXD1 GPIO_ETH_RMII_TXD1_2 +/* PWM + * + * 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: + * + * PD13 FSMC_A18 / MC_TIM4_CH2 pin 33 (EnB) + * + * FSMC must be disabled in this case! + */ + +#define GPIO_TIM4_CH2 GPIO_TIM4_CH2_1 + /************************************************************************************ * Public Data ************************************************************************************/ -- cgit v1.2.3