10000 stmhal: Control-C doesn't work when using a UART REPL · Issue #1568 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
stmhal: Control-C doesn't work when using a UART REPL #1568
Closed
@dhylands

Description

@dhylands

If you setup the REPL to be on a UART, then Control-C on the UART doesn't work. It works fine when connected over USB-serial.

Currently, the function to control whether Control-C should interrupt the REPL or not can be found in pyb.USB_VCP().

I'd like to propose that we move this someplace else (perhaps machine) and have that function call usb_vcp_set_interrupt_char and/or some new uart_set_interrupt_char function depending on how the repl is currently setup.

We could perhaps rename it to repl_setinterrupt, or leave it as setinterrupt. Just thought I'd throw this out to see what others think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0