You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,12 @@ This bootloader implements the draft [WebUSB](https://wicg.github.io/webusb/) sp
77
77
78
78
For a demo implementing dfu-util features in the browser, see https://devanlai.github.io/webdfu/dfu-util/
79
79
80
+
To customize the WebUSB landing page, you can use the `LANDING_PAGE_URL` define. To set it from the command line, you can use the `DEFS` environment variable:
81
+
82
+
DEFS='-DLANDING_PAGE_URL=\"example.com/dfu-util/\"' make
83
+
84
+
Note that the URL scheme shoul not be part of the `LANDING_PAGE_URL` string. As of this writing, it is hardcoded to HTTPS.
85
+
80
86
## USB VID/PID
81
87
The USB VID/PID pair ([1209/DB42](http://pid.codes/1209/DB42/)) is allocated through the [pid.codes](http://pid.codes/) open-source USB PID program.
0 commit comments