Skip to content
Snippets Groups Projects
Commit 9d6f70f7 authored by Andrew Leech's avatar Andrew Leech Committed by Damien George
Browse files

stm32: Make default USB_VCP stream go through uos.dupterm for main REPL.

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.
parent 0fb15fc3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment