git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7932 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
Giovanni Di Sirio 2015-04-26 17:47:58 +00:00
parent 86ac7d3e37
commit 11dde993c2
2 changed files with 11 additions and 0 deletions

View File

@ -431,6 +431,16 @@ struct USBDriver {
#endif
#endif /* STM32_USB_HAS_BCDR */
#if defined(STM32L1XX)
#if !defined(usb_lld_connect_bus)
#define usb_lld_connect_bus(usbp) (SYSCFG->PMC |= SYSCFG_PMC_USB_PU)
#endif
#if !defined(usb_lld_disconnect_bus)
#define usb_lld_disconnect_bus(usbp) (SYSCFG->PMC &= ~SYSCFG_PMC_USB_PU)
#endif
#endif /* STM32L1XX */
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/

View File

@ -75,6 +75,7 @@
*** 3.0.0p4 ***
- HAL: Fixed STM32F334 does not have an EXT18 interrupt (bug #588).
- HAL: Fixed STM32L1xx USB is missing disconnect/connect macros (bug #587).
- HAL: Fixed wrong vector number for STM32L1xx USB (bug #586).
- HAL: Fixed spurious TC interrupt in STM32 UART (v1 and v2) driver (bug #584).
- HAL: Fixed invalid checks on STM32L1xx LSI and LSE clocks (bug #583).