-
Notifications
You must be signed in to change notification settings - Fork 23
[BUG] make list-tty does not return TTY ports on Windows #287
Description
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.
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.
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.
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