Targeting a specific board?

Hey All,

Just started using platformIO after realising that I need a better method to update 3D Printer connected to a Pi. I am hoping at some point to write up a tutorial on how I have got this working.

Something I have noticed going through this, is the intelligence around finding the right platform to deploy to with upload ports etc.

One thing I am curious on, and I was struggling to find an answer for, is how to I target a specific device connected on USB? I.e. if I have multiple Amtel boards, can I target a specific board based a unique ID or serial number? That way I could prevent accidental code loading to the wrong board.

I’ll also be using the remote functionality too. If I specify a upload_port in the platformio.ini - would that be honoured in a remote upload?

Thanks in advance!

See Redirecting...