zephyr/ext/hal/st
Istvan Bisz 8bb0e7a504 hal: stm32f2x: usbotg_fs: fix VBUS sensing deactivation
The error is detected if USART1 TX configured to PA9 and RX to PA10.
The serial cable removal stops the USB communication.
In case of VBUS sensing deactivation, erroneously
both USB_OTG_GCCFG_VBUSBSEN and
USB_OTG_GCCFG_NOVBUSSENS are set in GCCFG.
Correct handling is:
 - VBUS sensing deactivation: set USB_OTG_GCCFG_NOVBUSSENS in GCCFG.
 - VBUS sensing activation:   set USB_OTG_GCCFG_VBUSBSEN in GCCFG.
ST Bug Tracker ID: 34714

Signed-off-by: Istvan Bisz <istvan.bisz@t-online.hu>
2018-08-15 08:22:41 -05:00
..
lib drivers: sensor: vl53l0x: ST library customization for Zephyr 2018-01-23 10:14:49 -06:00
stm32cube hal: stm32f2x: usbotg_fs: fix VBUS sensing deactivation 2018-08-15 08:22:41 -05:00
CMakeLists.txt ext: enable st/lib compilation 2018-01-23 10:14:49 -06:00