• Andrew Leech's avatar
    stm32: Make default USB_VCP stream go through uos.dupterm for main REPL. · 9d6f70f7
    Andrew Leech authored
    Use uos.dupterm for REPL configuration of the main USB_VCP(0) stream on
    dupterm slot 1, if USB is enabled.  This means dupterm can also be used to
    disable the boot REPL port if desired, via uos.dupterm(None, 1).
    
    For efficiency this adds a simple hook to the global uos.dupterm code to
    work with streams that are known to be native streams.
    9d6f70f7
usb.c 27.8 KB