From 65fb619d2599b714fa212de360dd468326c99ab8 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 24 Apr 2015 14:31:26 +0000 Subject: Fixed some STM32F3 registry entries. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7925 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F3xx/stm32_registry.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'os/hal') diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h index b9c6e2639..a60d6a120 100644 --- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h @@ -661,8 +661,8 @@ /* USB attributes.*/ #define STM32_HAS_USB TRUE -#define STM32_USB_ACCESS_SCHEME_2x16 FALSE -#define STM32_USB_PMA_SIZE 512 +#define STM32_USB_ACCESS_SCHEME_2x16 TRUE +#define STM32_USB_PMA_SIZE 768 #define STM32_USB_HAS_BCDR FALSE #define STM32_HAS_OTG1 FALSE #define STM32_HAS_OTG2 FALSE @@ -979,10 +979,7 @@ #define STM32_HAS_USART6 FALSE /* USB attributes.*/ -#define STM32_HAS_USB TRUE -#define STM32_USB_ACCESS_SCHEME_2x16 FALSE -#define STM32_USB_PMA_SIZE 512 -#define STM32_USB_HAS_BCDR FALSE +#define STM32_HAS_USB FALSE #define STM32_HAS_OTG1 FALSE #define STM32_HAS_OTG2 FALSE #endif /* defined(STM32F318x8) */ @@ -1303,7 +1300,7 @@ #endif /* defined(STM32F358xC) */ /*===========================================================================*/ -/* STM32F334xC. */ +/* STM32F334x8. */ /*===========================================================================*/ #if defined(STM32F334x8) || defined(__DOXYGEN__) /* ADC attributes.*/ -- cgit v1.2.3