diff options
author | Damien George <damien.p.george@gmail.com> | 2018-02-13 18:51:08 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-02-13 18:51:08 +1100 |
commit | 5c320bd0b093f44cad19046d84a63e5ed4e7fc87 (patch) | |
tree | c059deb480a12d08b72fc1936a3c7ed78d3c8b2c /docs/esp8266/tutorial | |
parent | 8aad22fdca757fd7135fb2f68ff8023a1f5bebc3 (diff) | |
download | micropython-5c320bd0b093f44cad19046d84a63e5ed4e7fc87.tar.gz micropython-5c320bd0b093f44cad19046d84a63e5ed4e7fc87.zip |
stm32: Introduce MICROPY_HW_ENABLE_USB and clean up USB config.
This patch allows to completely compile-out support for USB, and no-USB is
now the default. If a board wants to enable USB it should define:
#define MICROPY_HW_ENABLE_USB (1)
And then one or more of the following to select the USB PHY:
#define MICROPY_HW_USB_FS (1)
#define MICROPY_HW_USB_HS (1)
#define MICROPY_HW_USB_HS_IN_FS (1)
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions