mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-17 01:52:02 +00:00
Add WinUSB, WebUSB, USB2.1 to build
This commit is contained in:
parent
a062127cef
commit
05e218bcb8
4
Makefile
4
Makefile
@ -19,6 +19,10 @@ ifneq ($(EMULATOR),1)
|
|||||||
OBJS += timer.o
|
OBJS += timer.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
OBJS += usb21_standard.o
|
||||||
|
OBJS += webusb.o
|
||||||
|
OBJS += winusb.o
|
||||||
|
|
||||||
OBJS += gen/bitmaps.o
|
OBJS += gen/bitmaps.o
|
||||||
OBJS += gen/fonts.o
|
OBJS += gen/fonts.o
|
||||||
|
|
||||||
|
3
webusb.h
3
webusb.h
@ -26,7 +26,6 @@
|
|||||||
#define WEBUSB_VENDOR_CODE 0x01
|
#define WEBUSB_VENDOR_CODE 0x01
|
||||||
|
|
||||||
extern const struct webusb_platform_descriptor webusb_platform_capability_descriptor;
|
extern const struct webusb_platform_descriptor webusb_platform_capability_descriptor;
|
||||||
extern void webusb_setup(usbd_device* usbd_dev,
|
extern void webusb_setup(usbd_device* usbd_dev, const char* https_url);
|
||||||
const char** https_urls, size_t num_https_urls);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user