usb: Begun implementing support for Binary Object Stores and their capability descriptors

This commit is contained in:
dragonmux
2022-08-11 05:22:58 +01:00
committed by Piotr Esden-Tempski
parent 3a85f91ed8
commit 1d97cbf6e1
3 changed files with 157 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ OBJS += mac.o mac_stm32fxx7.o
OBJS += phy.o phy_ksz80x1.o
OBJS += usb.o usb_control.o usb_standard.o usb_msc.o
OBJS += usb_hid.o
OBJS += usb_hid.o usb_bos.o
OBJS += usb_audio.o usb_cdc.o usb_midi.o
OBJS += usb_dwc_common.o usb_f107.o
OBJS += st_usbfs_core.o st_usbfs_v1.o

20
lib/usb/usb_bos.c Normal file
View File

@@ -0,0 +1,20 @@
/*
* This file is part of the libopencm3 project.
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/usb/bos.h>
/* This stub exists just to trick doxygen. */