platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.18k stars 188 forks source link

Unable to create a project without a board #4047

Open Thf772 opened 1 month ago

Thf772 commented 1 month ago

I am trying to create a project for a specific microcontroller (specifically, an ATSAMC21E). However, the project creation dialog won't let me create a project without selecting a board, even though I'm not using any (or rather I don't want to use any, since I've designed a specific board for this project). When I look through the menu, there is no existing board that matches the chip I'm using (there is the SAMC21 Xplained which is based on a SAMC21J, which has different characteristics from the chip I'm using).

Is it possible to create a project based on a target MCU rather than a target board? If not, can this be a feature request? It doesn't make much sense to offer the creation of projects based on a complete board and not offer it for the actual chip the board is based on.

Additionally, I have tried creating a project-specific board definition file, however I don't know how to select it from the project creation UI (it doesn't appear in the board selection menu).