Commit 3a022a6
committed
platform: Add USB device MaxPower default setting
The MaxPower field specifies the maximum power that a device can
draw from the host, when the device is bus-powered.
Define the default value of 100mA default in the platform to
allow to override it from the board definition.
Some mobile devices will only supply 20mA. If a device is known to
draw less current, adding this to the board config will make it work:
<boardname>.build.usb_power=201 parent e33ec1f commit 3a022a6
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
0 commit comments