How to select ONE board to download code?

I have two stm32 boards, but platformio report an error when I connecting two boards on my PC to download demo. How can I select one of these boards to download demo in platformio?

Which is what exactly?

What’s the platformio.ini?

I have two boards, and when I connect one of them to the computer and download the code, there is no problem. But when I connected two boards to the computer at the same time and downloaded the code. There will be errors, and what I want to know is how to download the code to the specified board.

You answered none of my two questions :frowning:

I need exact error output and your platformio.ini.

I see.

Duplicate of

Thanks, I will try it.