bcostm
28150d1d90
STM32F7 USB: add NUCLEO_F756ZG in pins definition
2019-01-29 12:27:33 -06:00
bcostm
9c83fe9ff0
STM32F7 USB: change VBUS pin for DISCO_F746NG FS
2019-01-29 12:27:33 -06:00
bcostm
b91a196b22
STM32L4 USB: add pins definition for STM32L496/L4R5 MCUs
2019-01-29 12:27:33 -06:00
bcostm
dd58a048f6
STM32F4 USB: remove useless macro
2019-01-29 12:27:33 -06:00
Russ Butler
805e5631a9
Remove HAL_GetTick from ST USBPhy
...
Remove the function HAL_GetTick from the ST USBPhy driver. This is no
longer needed as that change has been made on master.
2019-01-29 12:27:31 -06:00
Russ Butler
4dfc6debe5
Fix ST test failures due to endpoint reconfiguration
...
Also always use the max endpoint size for SetTxFifo
since re-configuring fifos when endpoints are added or removed
causes tests to fail.
2019-01-29 12:27:30 -06:00
Russ Butler
b955d55553
Implement endpoint_abort for STM32
...
Make use of the added function HAL_PCD_EP_Abort to implement
endpoint_abort.
2019-01-29 12:27:29 -06:00
Russ Butler
6be6386d93
Revert "Create HAL_PCD_EP_Abort"
...
Revert the patch "Create HAL_PCD_EP_Abort" in preparation for an
alternate fix.
2019-01-29 12:27:29 -06:00
Russ Butler
c31dfbc174
Only build in USBPhy_STM32 for supported devices
...
Define USBSTM_HAL_UNSUPPORTED if DEVICE_USBDEVICE is undefined or
defined to 0.
2019-01-29 12:27:28 -06:00
Russ Butler
4ce82d714a
Fix return code check in endpoint abort
...
Assert that HAL_PCD_EP_Abort returns HAL_OK rather that something else.
2019-01-29 12:27:28 -06:00
Michel Jaouen
6ca7d2e828
Create HAL_PCD_EP_Abort
2019-01-29 12:27:27 -06:00
Russ Butler
21002c63dd
Remove unnecessary USB receive buffer
...
Remove receive buffer from USBPhy_STM32 and instead passed buffers in
directly.
2019-01-29 12:27:27 -06:00
Russ Butler
0fa612e49d
Remove ep0_write from set_address
...
The USBDevice stack automatically sends control endpoint status
so this does not and should not be done from the call to set_address.
2019-01-29 12:27:27 -06:00
Russ Butler
e7017270ef
Update the STM32 USB driver to the new API
...
Take the code from
mbed-os\features\unsupported\USBDevice\targets\TARGET_STM
as a starting point and use it to fill in the USBPhy template for STM32
devices.
2019-01-29 12:27:27 -06:00