mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
use same USB Product ID for DFU and runtime mode
This was introduced for interoperability with operating systems that might prefer such setup (I heard that Windows prefers this about a decade ago, but I don't have any personal experience with it). However, using different VID/PID between DFU and RT breaks usability of dfu-util, and I really think this matters much more to our users and developers.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "usb_application/pysim"]
|
|
||||||
path = usb_application/pysim
|
|
||||||
url = git://git.osmocom.org/pysim
|
|
||||||
|
|||||||
@@ -103,12 +103,12 @@
|
|||||||
#define BOARD_USB_ENDPOINTS_BANKS(i) (((i == 0) || (i == 3)) ? 1 : 2)
|
#define BOARD_USB_ENDPOINTS_BANKS(i) (((i == 0) || (i == 3)) ? 1 : 2)
|
||||||
|
|
||||||
#define USB_VENDOR_OPENMOKO 0x1d50
|
#define USB_VENDOR_OPENMOKO 0x1d50
|
||||||
#define USB_PRODUCT_OWHW_SAM3_DFU 0x4000
|
#define USB_PRODUCT_OWHW_SAM3_DFU 0x4001 /* was 0x4000 */
|
||||||
#define USB_PRODUCT_OWHW_SAM3 0x4001
|
#define USB_PRODUCT_OWHW_SAM3 0x4001
|
||||||
#define USB_PRODUCT_QMOD_HUB 0x4002
|
#define USB_PRODUCT_QMOD_HUB 0x4002
|
||||||
#define USB_PRODUCT_QMOD_SAM3_DFU 0x4003
|
#define USB_PRODUCT_QMOD_SAM3_DFU 0x4004 /* was 0x4003 */
|
||||||
#define USB_PRODUCT_QMOD_SAM3 0x4004
|
#define USB_PRODUCT_QMOD_SAM3 0x4004
|
||||||
#define USB_PRODUCT_SIMTRACE2_DFU 0x60e2
|
#define USB_PRODUCT_SIMTRACE2_DFU 0x60e3 /* was 0x60e2 */
|
||||||
#define USB_PRODUCT_SIMTRACE2 0x60e3
|
#define USB_PRODUCT_SIMTRACE2 0x60e3
|
||||||
|
|
||||||
#define BOARD_USB_DFU
|
#define BOARD_USB_DFU
|
||||||
|
|||||||
Reference in New Issue
Block a user