mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 09:06:00 +03:00
only simtrace is bus-powered, SAM3 on qmod + owhw are self-powered
This commit is contained in:
1 parent
8adf0ac2ce
commit
3ecbf678db
4 files changed
+6
-5
No files matched your search
@@ -102,11 +102,6 @@
|
||||
#define BOARD_USB_ENDPOINTS_MAXPACKETSIZE(i) (((i == 4) || (i == 5))? 512 : 64)
|
||||
#define BOARD_USB_ENDPOINTS_BANKS(i) (((i == 0) || (i == 3)) ? 1 : 2)
|
||||
|
||||
/// USB attributes configuration descriptor (bus or self powered, remote wakeup)
|
||||
//#define BOARD_USB_BMATTRIBUTES USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP
|
||||
#define BOARD_USB_BMATTRIBUTES USBConfigurationDescriptor_BUSPOWERED_NORWAKEUP
|
||||
//#define BOARD_USB_BMATTRIBUTES USBConfigurationDescriptor_SELFPOWERED_RWAKEUP
|
||||
|
||||
#define BOARD_USB_VENDOR SIMTRACE_VENDOR_ID
|
||||
#define BOARD_USB_PRODUCT SIMTRACE_PRODUCT_ID
|
||||
#define BOARD_USB_RELEASE 0
|
||||
|
||||
Reference in new issue
Block a user