git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7794 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
bd89c86c06
commit
17995cff3b
|
@ -192,8 +192,7 @@
|
|||
#define STM32_HAS_USART6 FALSE
|
||||
|
||||
/* USB attributes.*/
|
||||
#if defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F072xB) || \
|
||||
defined(STM32F078xx)
|
||||
#if defined(STM32F072xB) || defined(STM32F078xx)
|
||||
#define STM32_HAS_USB TRUE
|
||||
#define STM32_USB_ACCESS_SCHEME_2x16 TRUE
|
||||
#define STM32_USB_PMA_SIZE 768
|
||||
|
@ -327,7 +326,15 @@
|
|||
#define STM32_HAS_USART6 FALSE
|
||||
|
||||
/* USB attributes.*/
|
||||
/* USB attributes.*/
|
||||
#if defined(STM32F042x6) || defined(STM32F048xx)
|
||||
#define STM32_HAS_USB TRUE
|
||||
#define STM32_USB_ACCESS_SCHEME_2x16 TRUE
|
||||
#define STM32_USB_PMA_SIZE 768
|
||||
#define STM32_USB_HAS_BCDR TRUE
|
||||
#else
|
||||
#define STM32_HAS_USB FALSE
|
||||
#endif
|
||||
#define STM32_HAS_OTG1 FALSE
|
||||
#define STM32_HAS_OTG2 FALSE
|
||||
|
||||
|
|
Loading…
Reference in New Issue