summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f3discovery/src/up_boot.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-09 15:03:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-09 15:03:49 +0000
commit9f1b0571589985f9aaed28f12a0af9c55c56a0c1 (patch)
treed96a6dcb40417d6a69639444f9c111846076e89d /nuttx/configs/stm32f3discovery/src/up_boot.c
parent04701a1a031e14674a6f98f235b84f60e27b139a (diff)
downloadpx4-nuttx-9f1b0571589985f9aaed28f12a0af9c55c56a0c1.tar.gz
px4-nuttx-9f1b0571589985f9aaed28f12a0af9c55c56a0c1.tar.bz2
px4-nuttx-9f1b0571589985f9aaed28f12a0af9c55c56a0c1.zip
Removed stm32_internal.h; Changes for clean compile of STM32F3Discovery configuration with SPI and USB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5630 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f3discovery/src/up_boot.c')
-rw-r--r--nuttx/configs/stm32f3discovery/src/up_boot.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/configs/stm32f3discovery/src/up_boot.c b/nuttx/configs/stm32f3discovery/src/up_boot.c
index 09849cb82..8055c3810 100644
--- a/nuttx/configs/stm32f3discovery/src/up_boot.c
+++ b/nuttx/configs/stm32f3discovery/src/up_boot.c
@@ -82,13 +82,12 @@ void stm32_boardinitialize(void)
}
#endif
- /* Initialize USB if the 1) OTG FS controller is in the configuration and 2)
+ /* Initialize USB if the 1) USB device controller is in the configuration and 2)
* disabled, and 3) the weak function stm32_usbinitialize() has been brought
- * the weak function stm32_usbinitialize() has been brought into the build.
- * Presumeably either CONFIG_USBDEV or CONFIG_USBHOST is also selected.
+ * into the build. Presumeably either CONFIG_USBDEV is also selected.
*/
-#ifdef CONFIG_STM32_OTGFS
+#ifdef CONFIG_STM32_USB
if (stm32_usbinitialize)
{
stm32_usbinitialize();