stm32/modpyb: Support building with PY_PYB_LEGACY on and HW_USB_HID off.
stm32/modpyb: Support building with PY_PYB_LEGACY on and HW_USB_HID off.

tobbad/micropython,bvernoux/micropython,henriknelson/micropython,henriknelson/micropython,kerneltask/micropython,tobbad/micropython,adafruit/circuitpython,MrSurly/micropython,pozetroninc/micropython,trezor/micropython,henriknelson/micropython,pozetroninc/micropython,trezor/micropython,MrSurly/micropython,kerneltask/micropython,bvernoux/micropython,selste/micropython,selste/micropython,adafruit/circuitpython,kerneltask/micropython,tobbad/micropython,MrSurly/micropython,selste/micropython,trezor/micropython,trezor/micropython,selste/micropython,pozetroninc/micropython,henriknelson/micropython,pramasoul/micropython,pramasoul/micropython,adafruit/circuitpython,tobbad/micropython,pramasoul/micropython,pozetroninc/micropython,tobbad/micropython,selste/micropython,adafruit/circuitpython,MrSurly/micropython,kerneltask/micropython,henriknelson/micropython,MrSurly/micropython,adafruit/circuitpython,kerneltask/micropython,pozetroninc/micropython,bvernoux/micropython,bvernoux/micropython,pramasoul/micropython,trezor/micropython,pramasoul/micropython,bvernoux/micropython,adafruit/circuitpython