diff options
author | Damien George <damien.p.george@gmail.com> | 2019-01-27 14:02:10 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-01-27 14:02:10 +1100 |
commit | 4caf5b23588a82b2a952b0206fe87cd18a9a9050 (patch) | |
tree | b1d19df9689be3cfdd4e92f77ec28c211e5e439e /py/compile.c | |
parent | 7d8db42d17958560ccf56bbbae83ad795329aa43 (diff) |
stm32/usbdev: Add USB config option for max power drawn by the board.
The new compile-time option is MICROPY_HW_USB_MAX_POWER_MA. Set this in
the board configuration file to the maximum current in mA that the board
will draw over USB. The default is 500mA.
Diffstat (limited to 'py/compile.c')
0 files changed, 0 insertions, 0 deletions