aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-08 16:17:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-08 16:17:37 +0000
commit456edd448c07e54287844fa262e8ab65eb8737fb (patch)
treeaa5b43c55753f0e11fd89f09c349af88fa100fab
parenta98fcfb82b94bbeb6eb7f81a2823a20fb77c8626 (diff)
downloadChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.tar.gz
ChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.tar.bz2
ChibiOS-456edd448c07e54287844fa262e8ab65eb8737fb.zip
STM32F3xx USB working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4886 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32F3xx/hal_lld.h4
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32F3xx/hal_lld.h b/os/hal/platforms/STM32F3xx/hal_lld.h
index 270664abd..46ca54ea5 100644
--- a/os/hal/platforms/STM32F3xx/hal_lld.h
+++ b/os/hal/platforms/STM32F3xx/hal_lld.h
@@ -180,8 +180,8 @@
#define STM32_PLLSRC_HSE (1 << 16) /**< PLL clock source is
HSE/PREDIV. */
-#define STM32_USBPRE_DIV1 (0 << 22) /**< USB clock is PLLCLK/1. */
-#define STM32_USBPRE_DIV1P5 (1 << 22) /**< USB clock is PLLCLK/1.5. */
+#define STM32_USBPRE_DIV1P5 (0 << 22) /**< USB clock is PLLCLK/1.5. */
+#define STM32_USBPRE_DIV1 (1 << 22) /**< USB clock is PLLCLK/1. */
#define STM32_MCOSEL_NOCLOCK (0 << 24) /**< No clock on MCO pin. */
#define STM32_MCOSEL_LSI (2 << 24) /**< LSI clock on MCO pin. */
diff --git a/readme.txt b/readme.txt
index 481e32a80..8da4bbe48 100644
--- a/readme.txt
+++ b/readme.txt
@@ -146,7 +146,7 @@
- FIX: Fixed STM8L, cosmic compiler: c_lreg not saved (bug 3566342)(backported
to 2.2.10 and 2.4.3).
- NEW: Initial support for STM32F30x (HAL, PAL, CAN, GPT, ICU, PWM, Serial,
- SPI).
+ SPI, USB).
- NEW: AT91SAM7A3 I2C support.
- NEW: AT91SAM7A3 basic support.
- NEW: Unified the STM32F4xx and STM32F2xx platform code. The STM32F2xx now is