diff options
-rw-r--r-- | os/hal/platforms/STM32F3xx/hal_lld.h | 4 | ||||
-rw-r--r-- | readme.txt | 2 |
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
|