|
|
7 éve | |
|---|---|---|
| demo | 7 éve | |
| inc | 7 éve | |
| src | 7 éve | |
| .gitattributes | 9 éve | |
| .gitignore | 8 éve | |
| Doxyfile | 9 éve | |
| LICENSE | 9 éve | |
| Makefile | 7 éve | |
| readme.md | 7 éve |
| MCU Series | Features | Driver | File |
|---|---|---|---|
| STM32L0x2 STM32L0x3 STM32L4x2 STM32L4x3 STM32F0x2 STM32F0x8 | Doublebuffered 8 endpoints BC1.2 |
usbd_devfs | usbd_stm32l052_devfs.c |
| usbd_devfs_asm | usbd_stm32l052_devfs_asm.S | ||
| STM32L1xx | Doublebuffered 8 endpoints |
usbd_devfs | usbd_stm32l100_devfs.c |
| usbd_devfs_asm | usbd_stm32l100_devfs_asm.S | ||
| STM32F102 STM32F103 STM32F302 STM32F303 STM32F373 | Doublebuffered External DP pullup 8 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 6 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32l429_otgfs.c |
| STM32F105 STM32F107 | Doublebuffered 6 endpoints VBUS detection SOF output |
usbd_otgfs | usbd_stm32f105_otgfs.c |
Single physical endpoint can be used to implement
At this moment BULK IN endpoint can use both buffers, but it is not real doublebuffered.
Tested with STM32L052K8, STM32L100RC, STM32L476RG, STM32F072C8, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE, STM32F429ZI, STM32F105RBT6, STM32F107VCT6
to build library module
make module MODULE=path/module.a DEFINES="mcu spcified defines" CFLAGS="cpu cpecified compiler flags"
to build demo
make bluepill program
make stm32l052x8
to get a help
make help
| Variable | Default Value | Means |
|---|---|---|
| CMSIS | ../../CMSIS | path to CMSIS root folder |
| CMSISDEV | $(CMSIS)/Device | path to CMSIS device folder |
| CMSISCORE | $(CMSIS)/CMSIS/Include $(CMSIS)/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 |