-
Notifications
You must be signed in to change notification settings - Fork 236
Allow multiple .ino files within single project root #382
Comments
This is not really possible with the way the Arduino build system works. If you want to have two separate sketches in one project, you'll have to make a separate To make this more flexible, this plug-in would require proper support for build tasks, which it doesn't have to my knowledge. |
There an other issue opened about that, with a workaround : #271 |
@Dismounted have you got this resolved ? |
Arduino extension is not support multiple .ino files within single project , Can you have a try @iFreilicht 's suggestion ? |
Haven't solved this, but have used a workaround - edit |
@ArthurMa1978 ,this issue is duplicate with 481, Can we close this issue ? |
As @iFreilicht mentioned, our extension leverage the Arduino build system which doesn't support multiple .ino files in one folder / project. |
same as #271 |
Currently,
arduino.json
only supports a single path to an Arduino sketch. If a project has multiple sketches, it would be good to be prompted by VSCode to select which one to upload.In several of my use cases (and I hope others' use cases as well!), a single project can have multiple sketches, for example, in a simple location tracking project, you could have:
anchor-firmware/anchor-firmware.ino
for "anchor" hardwaretag-firmware/tag-firmware.ino
for "tag" hardwareThese sketches would be highly related, sharing the same libraries, Git repository and so on. Hence, depending on what is being worked on, a different sketch needs to be compiled and uploaded.
From my understanding, this is different from #271.
The text was updated successfully, but these errors were encountered: