Lightweight USB stack
1.0
|
All requirements can be downloaded into a directory specified in environment variable CMSIS
using make cmsis
command.
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 | ||
STM32L4x5 STM32L4x6 | Doublebuffered 6 endpoints BC1.2 VBUS detection | usbd_otgfs | usbd_stm32l476_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 |
Variable | Default Value | Means |
---|---|---|
CMSIS | ./CMSIS | path to CMSIS root folder |
CMSISDEV | /home/fdi/proj/CMSIS_5/Device | path to CMSIS device folder |
CMSISCORE | /home/fdi/proj/CMSIS_5/CMSIS/Include /home/fdi/proj/CMSIS_5/CMSIS/Core/Include | path to CMSIS core headers |
MCU | stm32l100xc | MCU selection for demo project |
CFLAGS | -mcpu=cortex-m3 -mfloat-abi=soft | MCU specified compiler flags |
DEFINES | STM32L1 STM32L100xC | MCU specified defines |
STPROG_CLI | ~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI | Path to the ST Cube Programmer CLI |
OPTFLAGS | -Os | Code optimization flags |