Skip to content

[BUG] make list-tty does not return TTY ports on Windows #287

Description

@wrong-formatt

Summary

When running make list-tty in the GitBash terminal, the terminal returns TTY Ports: followed by a slight delay before returning a blank line.

Image

I discussed this problem with Michael, and the issue Michael proposed can be found here but I actually do not think this is the case. Entering the dev directory and running ls, you can find that there never is another tty device aside from the default.

Image

In the image above, the former ls command shows the dev directory without the board plugged in, and the latter ls command shows the dev directory with the board (in BOOTSEL) plugged in.

I did end up finding a workaround to this (a bit of a gamble), but running make install-circuit-python BOARD_TTY_PORT=/dev/sdc did do the trick, and I was able to successfully install the PYSQUARED firmware onto the v5b board. Unsure if this is the proper way to do it, or what would happen if I installed it to the sdc1
TTY port instead.

Image Image

Steps to reproduce

Follow the steps for Windows set up here.
When reaching the Installing CircuitPython step, run make list-tty

If you would like to reproduce the steps to installing the firmware without the make list-tty command, go to your dev directory, run ls without the board plugged in, and run ls again with the board plugged in to find the differing TTY ports.

Environment

Windows 11 GitBash terminal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions