Author Topic: USB Host Stack for Zephyr  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

Offline unscriptedTopic starter

  • Contributor
  • Posts: 19
  • Country: pr
USB Host Stack for Zephyr
« on: November 12, 2024, 02:16:59 pm »
So Zephyr does not currently support a USB Host stack for Mass Storage Class which I need for my STM32 project. Has anyone worked in porting other stacks like TinyUSB to Zephyr? Or STM32Cube USB Host Library? Any recommendations?
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2560
  • Country: gb
Re: USB Host Stack for Zephyr
« Reply #1 on: November 12, 2024, 03:06:28 pm »
 

Offline unscriptedTopic starter

  • Contributor
  • Posts: 19
  • Country: pr
Re: USB Host Stack for Zephyr
« Reply #2 on: November 12, 2024, 03:12:49 pm »
Zephyr has a new experimental usb stack which includes mass storage support.

https://docs.zephyrproject.org/latest/connectivity/usb/device_next/usb_device.html
https://docs.zephyrproject.org/latest/samples/subsys/usb/mass/README.html#usb-mass

AFAIK, that's USB Device support, not USB Host.

Quote
This sample app demonstrates use of a USB Mass Storage driver by the Zephyr project. This very simple driver enumerates a board with either RAM or FLASH into an USB disk.

Which I think it is not what I'm looking for. I'm looking to enumerate an external USB flash drive.
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2560
  • Country: gb
Re: USB Host Stack for Zephyr
« Reply #3 on: November 12, 2024, 03:18:53 pm »
Sorry, I skim read your first post and missed the keyword 'host'. Twice. My bad.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf