summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-20 21:16:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-20 21:16:39 +0000
commitaec8ecfdad3e58bdec86a767047b9a9fc445d188 (patch)
tree441f3edfe2b5ded39452b676baf971213cc631a7 /nuttx/configs
parentf7933f6762d9bd290270ed8f2fd9b21381d6a760 (diff)
downloadpx4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.tar.gz
px4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.tar.bz2
px4-nuttx-aec8ecfdad3e58bdec86a767047b9a9fc445d188.zip
Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4207 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/ea3131/pgnsh/defconfig5
-rwxr-xr-xnuttx/configs/stm3240g-eval/README.txt9
-rwxr-xr-xnuttx/configs/stm3240g-eval/include/board.h7
-rw-r--r--nuttx/configs/stm3240g-eval/src/stm3240g-internal.h7
4 files changed, 18 insertions, 10 deletions
diff --git a/nuttx/configs/ea3131/pgnsh/defconfig b/nuttx/configs/ea3131/pgnsh/defconfig
index 252a64c09..d6643a3f3 100644
--- a/nuttx/configs/ea3131/pgnsh/defconfig
+++ b/nuttx/configs/ea3131/pgnsh/defconfig
@@ -177,6 +177,11 @@ CONFIG_UART_PARITY=0
CONFIG_UART_2STOP=0
#
+# MP25x Configuration
+#
+CONFIG_MP25P_SPIMODE=3
+
+#
# General build options
#
# CONFIG_RRLOAD_BINARY - make the rrload binary format used with
diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt
index 746d0e5ec..a7e49a73a 100755
--- a/nuttx/configs/stm3240g-eval/README.txt
+++ b/nuttx/configs/stm3240g-eval/README.txt
@@ -207,9 +207,10 @@ events as follows:
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:
+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 but is also connected to the Motor Control Connector (CN5) just
+for this purpose:
PD13 FSMC_A18 / MC_TIM4_CH2 pin 33 (EnB)
@@ -217,7 +218,7 @@ FSMC must be disabled in this case! PD13 is available at:
Daughterboard Extension Connector, CN3, pin 32 - available
TFT LCD Connector, CN19, pin 17 -- not available without removing the LCD.
- Motor Control Connector CN15, pin 33 -- no available unless to connect SB14.
+ Motor Control Connector CN15, pin 33 -- not available unless you bridge SB14.
STM3240G-EVAL-specific Configuration Options
============================================
diff --git a/nuttx/configs/stm3240g-eval/include/board.h b/nuttx/configs/stm3240g-eval/include/board.h
index 046691dd9..0f6f2fca1 100755
--- a/nuttx/configs/stm3240g-eval/include/board.h
+++ b/nuttx/configs/stm3240g-eval/include/board.h
@@ -285,8 +285,9 @@
/* 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
+ * 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
+ * but is also connected to the Motor Control Connector (CN5) just for this
* purpose:
*
* PD13 FSMC_A18 / MC_TIM4_CH2 pin 33 (EnB)
@@ -295,7 +296,7 @@
*
* Daughterboard Extension Connector, CN3, pin 32 - available
* TFT LCD Connector, CN19, pin 17 -- not available without removing the LCD.
- * Motor Control Connector CN15, pin 33 -- no available unless to connect SB14.
+ * Motor Control Connector CN15, pin 33 -- not available unless you bridge SB14.
*/
#define GPIO_TIM4_CH2 GPIO_TIM4_CH2_2
diff --git a/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h b/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h
index 0ccdaf40a..fb4ce466b 100644
--- a/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h
+++ b/nuttx/configs/stm3240g-eval/src/stm3240g-internal.h
@@ -86,8 +86,9 @@
/* 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
+ * 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
+ * but is also connected to the Motor Control Connector (CN5) just for this
* purpose:
*
* PD13 FSMC_A18 / MC_TIM4_CH2 pin 33 (EnB)
@@ -96,7 +97,7 @@
*
* Daughterboard Extension Connector, CN3, pin 32 - available
* TFT LCD Connector, CN19, pin 17 -- not available without removing the LCD.
- * Motor Control Connector CN15, pin 33 -- no available unless to connect SB14.
+ * Motor Control Connector CN15, pin 33 -- not available unless you bridge SB14.
*/
#define STM3240G_EVAL_PWMTIMER 4