![LNX build](https://github.com/dmitrystu/libusb_stm32/workflows/LNX%20build/badge.svg) ![WIN build](https://github.com/dmitrystu/libusb_stm32/workflows/WIN%20build/badge.svg) ![OSX build](https://github.com/dmitrystu/libusb_stm32/workflows/OSX%20build/badge.svg) ### Lightweight USB Device Stack ### + Lightweight and fast + Event-driven process workflow + Completely separated USB hardware driver and usb core + Easy to use. ### Requirements ### + [CMSIS V4](https://github.com/ARM-software/CMSIS) or [CMSIS V5](https://github.com/ARM-software/CMSIS_5). + [stm32.h](https://github.com/dmitrystu/stm32h) STM32 universal header All requirements can be downloaded into a directory specified in environment variable `CMSIS` using `make cmsis` command. ### Supported hardware ###
MCU Series | Features | Driver | File |
---|---|---|---|
STM32L0x2 STM32L0x3 STM32F070 STM32F0x2 STM32F0x8 | Doublebuffered[2] 8[1] endpoints BC1.2 |
usbd_devfs | usbd_stm32l052_devfs.c |
usbd_devfs_asm | usbd_stm32l052_devfs_asm.S | ||
STM32L4x2 STM32L4x3 STM32G4 series | Doublebuffered[2] 8[1] endpoints BC1.2 |
usbd_devfs | usbd_stm32l433_devfs.c |
usbd_devfs_asm | usbd_stm32l052_devfs_asm.S | ||
STM32L1xx | Doublebuffered[2] 8[1] endpoints |
usbd_devfs | usbd_stm32l100_devfs.c |
usbd_devfs_asm | usbd_stm32l100_devfs_asm.S | ||
STM32F102 STM32F103 STM32F302 STM32F303 STM32F373 | Doublebuffered[2] External DP pullup 8[1] endpoints |
usbd_devfs | usbd_stm32f103_devfs.c |
usbd_devfs_asm | usbd_stm32f103_devfs_asm.S | ||
STM32WB55 | Doublebuffered[2] External DP pullup 8[1] endpoints |
usbd_devfs | usbd_stm32wb55_devfs.c |
STM32L4x5 STM32L4x6 | Doublebuffered 6 endpoints BC1.2 VBUS detection |
usbd_otgfs | usbd_stm32l476_otgfs.c |
STM32F401 STM32F411 | Doublebuffered 4 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32f429_otgfs.c |
STM32F4x5 STM32F4x7 STM32F4x9 | Doublebuffered 4 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32f429_otgfs.c |
Doublebuffered 6 endpoints VBUS detection SOF output |
usbd_otghs | usbd_stm32f429_otghs.c | |
STM32F105 STM32F107 | Doublebuffered 4 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32f105_otgfs.c |
STM32F4x6 STM32F7 | Doublebuffered 6 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32f446_otgfs.c |
Doublebuffered 9 endpoints VBUS detection SOF output |
usbd_otghs | usbd_stm32f446_otghs.c | |
STM32H743 | Doublebuffered 6 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32h743_otgfs.c |