diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-08 17:56:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-08 17:56:08 +0000 |
commit | 577d5456db4d4e5a740208f01362521aeda22aae (patch) | |
tree | 3f3758da5a79ed3e03f7cec67bcec8a3d7a3e65b /nuttx/configs/stm3210e-eval | |
parent | c9e0f9f37ea4d38a26baad8dafbf2e82f73322db (diff) | |
download | px4-nuttx-577d5456db4d4e5a740208f01362521aeda22aae.tar.gz px4-nuttx-577d5456db4d4e5a740208f01362521aeda22aae.tar.bz2 px4-nuttx-577d5456db4d4e5a740208f01362521aeda22aae.zip |
Fix I2C/FSMC conflict for STM32; Fix STM32 clock setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3942 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval')
-rwxr-xr-x | nuttx/configs/stm3210e-eval/README.txt | 6 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/RIDE/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/buttons/defconfig | 5 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/nsh/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nsh2/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nx/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nxlines/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/nxtext/defconfig | 5 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/ostest/defconfig | 5 | ||||
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/up_selectlcd.c | 2 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/usbserial/defconfig | 5 | ||||
-rwxr-xr-x | nuttx/configs/stm3210e-eval/usbstorage/defconfig | 5 |
12 files changed, 57 insertions, 1 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt index 0224f65a2..772020e96 100755 --- a/nuttx/configs/stm3210e-eval/README.txt +++ b/nuttx/configs/stm3210e-eval/README.txt @@ -360,6 +360,12 @@ STM3210E-EVAL-specific Configuration Options CONFIG_STM32_USART1 CONFIG_STM32_ADC3 + Timer and I2C devices may need to the following to force power to be applied + unconditionally at power up. (Otherwise, the device is powered when it is + initialized). + + CONFIG_STM32_FORCEPOWER + Alternate pin mappings (should not be used with the STM3210E-EVAL board): CONFIG_STM32_TIM1_FULL_REMAP diff --git a/nuttx/configs/stm3210e-eval/RIDE/defconfig b/nuttx/configs/stm3210e-eval/RIDE/defconfig index 9e31d2bd6..4733a438d 100755 --- a/nuttx/configs/stm3210e-eval/RIDE/defconfig +++ b/nuttx/configs/stm3210e-eval/RIDE/defconfig @@ -128,6 +128,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/buttons/defconfig b/nuttx/configs/stm3210e-eval/buttons/defconfig index bc1c291d2..7a9e636d9 100644 --- a/nuttx/configs/stm3210e-eval/buttons/defconfig +++ b/nuttx/configs/stm3210e-eval/buttons/defconfig @@ -142,6 +142,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/nsh/defconfig b/nuttx/configs/stm3210e-eval/nsh/defconfig index 908aff7f1..97b155ff8 100755 --- a/nuttx/configs/stm3210e-eval/nsh/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/nsh2/defconfig b/nuttx/configs/stm3210e-eval/nsh2/defconfig index d49669886..d92fd3773 100644 --- a/nuttx/configs/stm3210e-eval/nsh2/defconfig +++ b/nuttx/configs/stm3210e-eval/nsh2/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/nx/defconfig b/nuttx/configs/stm3210e-eval/nx/defconfig index 894f569f5..082452881 100644 --- a/nuttx/configs/stm3210e-eval/nx/defconfig +++ b/nuttx/configs/stm3210e-eval/nx/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/nxlines/defconfig b/nuttx/configs/stm3210e-eval/nxlines/defconfig index 6a9ea3979..d41e60415 100644 --- a/nuttx/configs/stm3210e-eval/nxlines/defconfig +++ b/nuttx/configs/stm3210e-eval/nxlines/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/nxtext/defconfig b/nuttx/configs/stm3210e-eval/nxtext/defconfig index d48637a1b..9193dd084 100644 --- a/nuttx/configs/stm3210e-eval/nxtext/defconfig +++ b/nuttx/configs/stm3210e-eval/nxtext/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/ostest/defconfig b/nuttx/configs/stm3210e-eval/ostest/defconfig index 3fec68871..41aeb41d8 100755 --- a/nuttx/configs/stm3210e-eval/ostest/defconfig +++ b/nuttx/configs/stm3210e-eval/ostest/defconfig @@ -140,6 +140,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/src/up_selectlcd.c b/nuttx/configs/stm3210e-eval/src/up_selectlcd.c index d2b189a09..221834ff5 100644 --- a/nuttx/configs/stm3210e-eval/src/up_selectlcd.c +++ b/nuttx/configs/stm3210e-eval/src/up_selectlcd.c @@ -88,7 +88,7 @@ * *JP7 will switch to PD6 */ -/* GPIO configurations unique to SRAM */ +/* GPIO configurations unique to the LCD */ static const uint16_t g_lcdconfig[] = { diff --git a/nuttx/configs/stm3210e-eval/usbserial/defconfig b/nuttx/configs/stm3210e-eval/usbserial/defconfig index 5680fc74a..362951cd3 100755 --- a/nuttx/configs/stm3210e-eval/usbserial/defconfig +++ b/nuttx/configs/stm3210e-eval/usbserial/defconfig @@ -140,6 +140,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the diff --git a/nuttx/configs/stm3210e-eval/usbstorage/defconfig b/nuttx/configs/stm3210e-eval/usbstorage/defconfig index da24167c7..5ad7be2eb 100755 --- a/nuttx/configs/stm3210e-eval/usbstorage/defconfig +++ b/nuttx/configs/stm3210e-eval/usbstorage/defconfig @@ -138,6 +138,11 @@ CONFIG_STM32_USART1=y CONFIG_STM32_ADC3=n # +# Timer and I2C devices may need to the following to force power to be applied: +# +#CONFIG_STM32_FORCEPOWER=y + +# # STM32F103Z specific serial device driver settings # # CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the |