What's the use for hwids parameter in board definition?

I’m trying to add a custom board, which is essentially an Arduino UNO at a different frequency, so i’m basing the definition on the uno.json file in the repo, but idk what the hwids parameter is used for and what to set for my device.

Thanks!

You should put here VID/PID of your board. Connect it to host machine and run pio device list where you will see PID/VID of your board.

This data allows PlatformIO automatically find upload port.

3 Likes