I noticed, that the parameter
upload_port (in platform.ini or environment variable) is completely ignored, when I try to upload the firmware to an arduino 2560.
Platform IO is searching for ports and cannot find any suitable programmer and fails.
I found out, that using instead the
upload_flags are working, when setting the port like
Is this a bug or is there any mistake?