Note: Correct assignment of the serial ports requires a build that supports assignment by chardev ID; otherwise handles will be assigned and filled starting from the lowest ID (so if you need access to UART6 on older builds, 1-5 must also be attached)
Note- STM numbers UARTs starting at 1, but internally my indexing starts at zero, hence the off-by-one counting seen here.
If you choose "Serial" or "TTY" be sure to edit the device path /dev/tty???
to point to the correct device - e.g. /dev/tty[USB0|ACM0|S0|S1...]
!