Page 1 of 1

New custom board; how do I add to platformIO/VSCode?

Posted: Sat Jun 11, 2022 7:54 am
by mzincali
I've built my own ESP32C3 board. How do I use it in PlatformIO? (VSCode) I have already tested it in Arduino IDE and I can program it and see that it works, but I don't get access to the serial communication via the built-in JTAG. I am trying to see if I can do so with platformIO, but PlatformIO only gives me the option for certain commercial dev kits, and I don't know how to add my own to the list of options.

Any help would be appreciated!

Re: New custom board; how do I add to platformIO/VSCode?

Posted: Sun Jun 12, 2022 12:42 am
by username
Espressif does not control additions to platformIO. You need to contact them to see if they are willing to add it.

Re: New custom board; how do I add to platformIO/VSCode?

Posted: Sun Jun 12, 2022 8:40 am
by mzincali
Espressif does not control additions to platformIO. You need to contact them to see if they are willing to add it.
Does that mean I can't use PlatformIO to write programs for a board that I design? That doesn't sound right. I was thinking that I would need to make some new description file that would specify the specs of my board and PlatformIO would then recognize it.

Re: New custom board; how do I add to platformIO/VSCode?

Posted: Sun Jun 12, 2022 12:16 pm
by liebman
mzincali wrote:
Sun Jun 12, 2022 8:40 am
Espressif does not control additions to platformIO. You need to contact them to see if they are willing to add it.
Does that mean I can't use PlatformIO to write programs for a board that I design? That doesn't sound right. I was thinking that I would need to make some new description file that would specify the specs of my board and PlatformIO would then recognize it.
A couple of years ago I created a badminton scoreboard using platformio and Arduino using a custom board - maybe it will help. https://github.com/liebman/BadmintonScore

Re: New custom board; how do I add to platformIO/VSCode?

Posted: Sun Jun 12, 2022 12:57 pm
by username
mzincali wrote:
Sun Jun 12, 2022 8:40 am
Espressif does not control additions to platformIO. You need to contact them to see if they are willing to add it.
Does that mean I can't use PlatformIO to write programs for a board that I design? That doesn't sound right. I was thinking that I would need to make some new description file that would specify the specs of my board and PlatformIO would then recognize it.
I thought you wanted to be able to pick your board from the list when you start a new project.
you sure can modify platformio.ini file. Check out their docs, they talk about it.

Re: New custom board; how do I add to platformIO/VSCode?

Posted: Sun Jun 12, 2022 8:10 pm
by john11
Its really easy. Just follow the docs at:
https://docs.platformio.org/en/stable/p ... board.html