Unverified Commit 6591da9a authored by Maximilian Gerhardt's avatar Maximilian Gerhardt Committed by GitHub

Fix PlatformIO build (#395)

Defines USBD_MAX_POWER_MA as a static 250mA, which is correct for all the boards supported in platform-raspberrypi (aka, RaspberryPi Pico and Nano RP2040 Connect)
parent c80c08d3
......@@ -142,7 +142,8 @@ def configure_usb_flags(cpp_defines):
("USB_PID", usb_pid),
("USB_MANUFACTURER", '\\"%s\\"' % usb_manufacturer),
("USB_PRODUCT", '\\"%s\\"' % usb_product),
("SERIALUSB_PID", usb_pid)
("SERIALUSB_PID", usb_pid),
("USBD_MAX_POWER_MA", 250)
])
# use vidtouse and pidtouse
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment