git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7794 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2015-03-22 14:58:08 +00:00
parent bd89c86c06
commit 17995cff3b
1 changed files with 9 additions and 2 deletions

View File

@ -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