I have 2 microcontrollers of the same type (mapped to /dev/mc_1 and /dev/mc_2 by udev rules).
To specify which controller to upload to I tried the upload_target option in the project configuration. However it seems that the code is just uploaded to the first microcontroller it sees or which ones happen to be powered.
I would expect and error if the upload_target is not present, instead of just silently falling back to picking just any available.
What am I doing wrong or are there other ways to specify which mc to upload to?
The names are unique in their context. I have two separate projects that live in separate folders on disc. As far as I see there is no connection between them.