Commit Graph

54 Commits (d6a48218eecdb92ea036cefeabc6818af2a2dcd7)

Author SHA1 Message Date
Martin Kojtal 04d0b0d1c8
Merge pull request #10654 from desowin/usbhost-msd
USBHostMSD: Implement BlockDevice get_type()
2019-06-04 12:56:52 +01:00
Tomasz Moń a39cba0e52 USBHost: Wait for device to implement SET ADDRESS
The USB Device must change the address within 2 ms after completing
SET ADDRESS status stage.

Wait 2 ms before issuing GET DESCRIPTOR under the new address. In my
case, this completely resolves the timeout issues.
2019-05-27 12:22:59 +02:00
Tomasz Moń 3116f329d7 USBHostMSD: Implement BlockDevice get_type()
This makes it possible to create instances of USBHostMSD class.
2019-05-24 12:40:30 +02:00
Kevin Bracey 1ef213ec89 Clean up Thread deprecation warnings
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
jeromecoutant 408209989e TARGET_STM USB astyle 2018-06-27 15:01:23 +02:00
daid 62599a97f7 Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip. 2018-02-28 09:37:39 +01:00
Cruz Monrreal 5af1d8fca6
Merge pull request #5800 from abougouffa/feature_unsupported_usbhost
Some enhancements for the USBHost feature and small bug fix
2018-01-22 10:26:07 -06:00
Adam Heinrich da81229186 NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2017-12-29 15:30:10 +01:00
Abdelhak Bougouffa 4bba4e59fc Add checking for MAX_HUB_NB in a part of code that depend on MAX_HUB_NB 2017-12-02 17:09:46 +01:00
Abdelhak Bougouffa fd06eb2534 Replace the old deprecated callbacks 2017-12-02 17:08:43 +01:00
bcostm c621c688c4 STM32 USBHOST: Remove DISCO_F429ZI
Impossible to make USBHost working on this board.
Remove it for now until a fix is found.
2017-11-30 13:59:43 +01:00
bcostm fe507af862 STM32 USBHOST: Corrections for DISCO_F746NG 2017-11-30 13:52:10 +01:00
bcostm 22a4299368 STM32 USBHOST: Corrections for DISCO_F429ZI 2017-11-29 18:54:04 +01:00
bcostm 18a6b96242 STM32 USBHOST: Add support of DISCO_F469NI and DISCO_F769NI 2017-11-29 18:54:04 +01:00
bcostm 8416afaeb1 STM32 USBHOST: Add support of DISCO_F413ZH 2017-11-29 18:54:04 +01:00
bcostm 755865d3fc STM32 USBHost: Improvements in USBHALHost_STM.h 2017-11-29 18:54:04 +01:00
bcostm 377db59371 STM32 USBHost: Remove USBHALHost_STM_TARGET.h files
These files are replaced by the USBHALHost_STM.h file common to all boards.
2017-11-29 18:54:04 +01:00
bcostm ef46d08589 STM32 USBHost: rename files
The USBHALHost_STM_144_64pins.h has been renamed in USBHALHost_STM.h

All the configuration is done in this file now for Nucleo and Disco boards
2017-11-29 18:54:03 +01:00
ccli8 cacc444b73 [M487] Support USB device/host 2017-08-22 09:27:31 +08:00
bcostm 6b721d345a DISCO_L475VG_IOT01A: Add support of USBHost 2017-08-04 13:19:13 +02:00
Mihail Stoyanov 717150cdf2 Reorganize vendor specific code into targets folders, following the mbed-os/targets/ design pattern 2017-06-27 14:20:36 -05:00
arostm 5e3350ce38 DISCO_F413ZH: Modification needed to build 2017-06-22 09:07:00 +02:00
Michel Jaouen edbba13640 USBHostMSD : fix possible race condition during connection 2017-05-17 08:58:34 +02:00
Michel Jaouen d30a9a63d8 USHostMSD: rely on BlockDevice 2017-05-17 08:58:33 +02:00
Martin Kojtal c732739897 Merge pull request #4291 from jamike/USBHost_fix_target_stm_build
USBHost : fix build for TARGET_STM
2017-05-15 16:18:36 +01:00
Michel Jaouen f27f3bbfee USBHOST: fix build for TARGET_STM 2017-05-10 09:33:29 +02:00
Michel Jaouen c4a049750b USBHOST : TARGET_STM small speed device not supported on hub
add warn small speed device are connected on hub
2017-05-09 16:18:34 +02:00
Michel Jaouen fdde91037f USBHOST : mouse fix for high speed mouse 2017-05-09 16:18:33 +02:00
Michel Jaouen fdec62002e USBHOST: TARGET_STM add more hub to support larger hub 2017-05-09 16:18:32 +02:00
Michel Jaouen f3c6f95b0a USBHOST: USBHOST_OTHER Add timeout on TD (indentation) 2017-05-09 16:18:32 +02:00
Michel Jaouen 309b9aef62 USBHOST TARGET_STM : changes for hub support 2017-05-09 16:18:31 +02:00
Michel Jaouen c860377464 USBHOST : USBHOST_OTHER add control disable counter 2017-05-09 16:18:30 +02:00
Michel Jaouen 73d8e5e9ef USBHOST: USBHOST_OTHER fix in endpoint
- set_state specific
- speed init
2017-05-09 16:18:29 +02:00
Michel Jaouen ccce1c5273 USBHOST : change interrupt endpoint behaviour
In case interrupt reports error,
call back  can send interrupt request again.
2017-05-09 16:18:29 +02:00
Michel Jaouen fa2abd22c7 USBHost : USBHostHID , USBHostHub fix indentation. 2017-05-09 16:18:28 +02:00
Michel Jaouen bae762eb24 USBHOST: put deviceInited to false when device disconnected 2017-05-09 16:18:27 +02:00
Michel Jaouen bf2fc0a2cf USBHOST : as DISCONNECTED_EVENT from root hub is sent in irq handler
and connection from hub are  sent from usb task.
A connection on an hub port can be sent ,
after irq disconnection from root hub.
2017-05-09 16:18:26 +02:00
Michel Jaouen 41f12260b1 USBHost : fix indentation USBHost.cpp 2017-05-09 16:18:25 +02:00
Michel Jaouen 27877bd4e8 USBHOST : fix disconnection during device registering 2017-05-09 16:18:24 +02:00
Michel Jaouen f6f73938eb USBHOST : fix device disconnection from hub during hub port reset 2017-03-28 11:32:43 +02:00
Michel Jaouen 873cacfc73 Revert "Revert "Target stm usb config""
This reverts commit ec329be6f2.
2017-03-14 15:57:28 +01:00
Christopher Haster aff49d8d1e Renamed files in platform to match source names
critical.h     -> mbed_critical.h
sleep.h        -> mbed_sleep.h
toolchain.h    -> mbed_toolchain.h
rtc_time.h     -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h     -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
Sam Grove ec329be6f2 Revert "Target stm usb config" 2017-02-09 15:37:19 -06:00
Michel Jaouen 4d59c8857d TARGET_STM :move usb config file to target dir 2017-02-03 10:32:19 +01:00
bcostm e609796406 Enable USB Host 2017-01-27 17:22:07 +01:00
Michel Jaouen 25c0d9034f USBHOST STM : add more board
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen 14153dcbc3 USBHOST STM support :
NUCLEO : F429ZI, F446ZE, F207ZG, F767ZI, F401RE,
DISCO : F429ZI
2017-01-02 09:48:16 +01:00
Michel Jaouen 54db0a4143 USBHOST : introduce USBHOST_OTHER (USBHost on USB IP not OHCI). 2017-01-02 09:48:14 +01:00
Michel Jaouen 48434cfd64 USBHOST: fix call back 2017-01-02 09:48:14 +01:00
Michel Jaouen 1577037b4b USBHOST : add return value to queue transfer
modify add transfer to support return value.
2017-01-02 09:48:13 +01:00