diff --git a/Hardware-API.md b/Hardware-API.md index 8e423f2..86ae9fb 100644 --- a/Hardware-API.md +++ b/Hardware-API.md @@ -395,11 +395,6 @@ Wake reason: - `machine.PIN_WAKE` - `machine.TIMER_WAKE` -# sys module additions - -The sys module has uPy specific functions: -- `sys.dup_stdio([stream_obj])` get or set duplication of global stdio, so that REPL can be redirected to UART or other (note: could allow to duplicate to multiple stream objs but that's arguably overkill and could anyway be done in Python by making a stream multiplexer) - # time module additions The time module has uPy specific functions: @@ -417,6 +412,7 @@ The os module has uPy specific functions: - `os.mount(block_dev, mount_point, *, readonly)` - `os.umount(mount_point)` - `os.mkfs(device or path, *, options...)` +- `os.dupterm([stream_obj])` get or set duplication of controlling terminal, so that REPL can be redirected to UART or other (note: could allow to duplicate to multiple stream objs but that's arguably overkill and could anyway be done in Python by making a stream multiplexer) # micropython module