Skip to content

Target STM USBHOST support #3432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 9, 2017
Merged

Conversation

jamike
Copy link
Contributor

@jamike jamike commented Dec 13, 2016

Description

Add the USBHOST support on STM target
(NUCLEO_F401RE, NUCLEO_F446ZE, NUCLEO_F207ZG, NUCLEO_F429ZI, DISCO_F429ZI, NUCLEO_F767ZI)

  • root hub support only.
  • mouse and mass storage test provided.
    As STM USBHOST IP is not OHCI compliant and current USBHOST class relies on OHCI register structure, modification under flag USBHOST_OTHER have been done for NON OHCI device on USBHOST USBENDPOINT class.

Status

ready

@jamike
Copy link
Contributor Author

jamike commented Dec 15, 2016

Is something blocking the review? By the way why usb is on a directory named "unsupported". What does "unsupported" mean precisely?

@jamike
Copy link
Contributor Author

jamike commented Dec 15, 2016

Add one more commit , for the support of NUCLEO_F411RE, NUCLEO_L476VG, NUCLEO_F746ZG, DISCO_L476VG

@sg-
Copy link
Contributor

sg- commented Dec 15, 2016

Seems ok. It should be noted there is no automated testing or statement of quality about the USB code. We'd like to refactor and integrate with mbed OS 5 with testing to support the functionality and make it easier to accept contributions. Anyone interested in helping out please reach out.

@jamike please resolve the conflict.

@jamike jamike force-pushed the TARGET_STM_USBHOST_FS branch from 11b7ca7 to 0e91688 Compare December 16, 2016 10:16
@jamike
Copy link
Contributor Author

jamike commented Dec 16, 2016

rebased and conflict solved

@bridadan
Copy link
Contributor

Just realized this is modifying some common target code too, so I'll kick off the bots.

/morph test

@bridadan
Copy link
Contributor

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1283

All builds and test passed!

@mbed-bot
Copy link

[Build 1178]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 21, 2016

@jamike Can you please rebase to resolve the conflict?

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 30, 2016

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 30, 2016

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

@mbed-bot
Copy link

[Build ${MBED_BUILD_ID}]
FAILURE: Something went wrong when building and testing.

@0xc0170
Copy link
Contributor

0xc0170 commented Dec 30, 2016

There's another conflict, earlier PR made this again. @jamike please let me know if you can rebase again or I'll do it and send a new PR

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1337

All builds and test passed!

jamike added 6 commits January 2, 2017 09:48
- reset toggle_out , toggle_in at init
-  in/out toggle in on ctrl endpoint
- remove call back when transmission restarted
NUCLEO : F429ZI, F446ZE, F207ZG, F767ZI, F401RE,
DISCO : F429ZI
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
@jamike jamike force-pushed the TARGET_STM_USBHOST_FS branch from 572ae35 to 25c0d90 Compare January 2, 2017 08:54
@jamike
Copy link
Contributor Author

jamike commented Jan 2, 2017

Rebased done, and CI passed...

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 3, 2017

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 3, 2017

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=ALL
TARGETS=ALL

@mbed-bot
Copy link

mbed-bot commented Jan 3, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1346

All builds and test passed!

@mbed-bot
Copy link

mbed-bot commented Jan 3, 2017

[Build 1205]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@sg- sg- merged commit 41b22bf into ARMmbed:master Jan 9, 2017
@bcostm bcostm mentioned this pull request Dec 11, 2017
aisair pushed a commit to aisair/mbed that referenced this pull request Apr 30, 2024
Ports for Upcoming Targets


Fixes and Changes

3432: Target STM USBHOST support ARMmbed/mbed-os#3432
3181: NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now ARMmbed/mbed-os#3181
3626: NUCLEO_F412ZG : Add USB Device +Host ARMmbed/mbed-os#3626
3628: Fix warnings ARMmbed/mbed-os#3628
3629: STM32: L0 LL layer ARMmbed/mbed-os#3629
3632: IDE Export support for platform VK_RZ_A1H ARMmbed/mbed-os#3632
3642: Missing IRQ pin fix for platform VK_RZ_A1H ARMmbed/mbed-os#3642
3664: Fix ncs36510 sleep definitions ARMmbed/mbed-os#3664
3655: [STM32F4] Modify folder structure ARMmbed/mbed-os#3655
3657: [STM32L4] Modify folder structure ARMmbed/mbed-os#3657
3658: [STM32F3] Modify folder structure ARMmbed/mbed-os#3658
3685: STM32: I2C: reset state machine ARMmbed/mbed-os#3685
3692: uVisor: Standardize available legacy heap and stack ARMmbed/mbed-os#3692
3621: Fix for #2884, LPC824: export to LPCXpresso, target running with wron ARMmbed/mbed-os#3621
3649: [STM32F7] Modify folder structure  ARMmbed/mbed-os#3649
3695: Enforce device_name is valid in targets.json ARMmbed/mbed-os#3695
3723: NCS36510: spi_format function bug fix ARMmbed/mbed-os#3723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants