Skip to content

Add the option to choose the serial port#25

Open
NICOLASGON wants to merge 1 commit intoPaulStoffregen:masterfrom
NICOLASGON:master
Open

Add the option to choose the serial port#25
NICOLASGON wants to merge 1 commit intoPaulStoffregen:masterfrom
NICOLASGON:master

Conversation

@NICOLASGON
Copy link

Hello,

This patch add the option in the cli to choose the teensy we want to flash.
Thank you,
Nicolas Gonzalez

@peternewman
Copy link

This is the serial number of the device, rather than anything to do with the serial port isn't it?

@siteswapjuggler
Copy link

Is this patch still active and valid ? Do you know a good way to get Teensys serial number with a command line tool ?

@peternewman
Copy link

Do you know a good way to get Teensys serial number with a command line tool ?

Something like lsusb should do so @siteswapjuggler

@siteswapjuggler
Copy link

Hello I found lsusb -v which works like a charm thanks :)

@peternewman
Copy link

Hello I found lsusb -v which works like a charm thanks :)

Adding -d and the right vendor/product would let you just show Teensys, which might be even more useful.

lshw may also show them, and has XML and JSON output formats which could be parsed more reliably. It also has ways to filter for just particular classes of data.

@siteswapjuggler
Copy link

Yep my final scrip is something is :
lsusb -v -d 0x16c0: | grep iSerial

MiaSheridan added a commit to mcgill-robotics/auv-embedded-2026 that referenced this pull request Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants