How to know the Platform/board names to be added to Platformio.ini?

Hello,

i have written a program for a given board, in this case a Nano every, and so the Platformo.ini is as follow:

[env:nano_every]
platform = atmelmegaavr
board = nano_every
framework = arduino

If I want to add another board to my project, let’s a Nano R4, where I can find his name: is it “nano_R4” or something else ?

Same question for the “env” field.

I have several boards around, so is there a list somewhere ?

Thank you !

Click on one of the available boards in the boards list

Then you’ll find the board-id in the configuration section.
Unfortunately there is no “nano r4” available (yet) - See Arduino nano R4

Thank you very much sivar2311 this is exactly what I was looking for !

I will have a try to the Rasperry Pico W instead: it seems to have more I/O than the R4, and might be useful for the more complex projects.

Strange that the R4 is still not available…

Thanks again