Damien George
f7f4bf0321
stm32/usbdev: Move all the USB device descriptor state into its struct.
7 years ago
Damien George
db7f4aa2cb
stm32/usbdev: Make device descriptor callbacks take a state pointer.
7 years ago
Damien George
0ea73d2da7
stm32/usbdev: Simplify pointers to MSC state and block dev operations.
7 years ago
Damien George
f8f17f48c5
stm32/usbdev: Put all state for the USB device driver in a struct.
7 years ago
Damien George
35e3435f6e
stm32/usbdev/core: Add state parameter to all callback functions.
7 years ago
Damien George
b3b922f177
stm32/usbdev: Simplify HID tx/rx buffer passing.
7 years ago
Damien George
e04b478050
stm32/usbdev: Simplify CDC tx/rx buffer passing.
7 years ago
Damien George
77e1da40e2
stm32/usbdev: Put all HID state in a struct.
7 years ago
Damien George
980b33177b
stm32/usbdev: Put all CDC state in a struct.
7 years ago
Damien George
347de3e218
stm32/usbdev: Change static function variable to non-static.
It's written straight away in the function on every call so it doesn't need
to be static.
7 years ago
Damien George
78602a217f
stm32/usbdev: Make the USBD callback struct const so it can go in ROM.
7 years ago
Damien George
f1dd0fd7df
stm32: Remove unused usbd_msc.c file.
7 years ago
Damien George
01dd7804b8
ports: Make new ports/ sub-directory and move all ports there.
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
7 years ago