Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable platformio support. #929

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

positron96
Copy link

This PR adds a simple platform.io file that builds a file for Arduino Uno. Its output exactly matches what Arduino IDE creates.

Having platformio file in this repo allows developers to use "normal" IDEs with autocomplete, refactoring and stuff, while maintaining Arduino compatibility. It also will allow easy autobuilding of release builds with CI/CD pipelines (with pio CLI).

Full compatibility with Arduino IDE is retained (it still works)

@ooxi
Copy link

ooxi commented May 9, 2021

While not opposed to the PR, I don't really see a benefit, since a Makefile is already present? Moreover, those commits should be squashed before creating a PR.

@positron96
Copy link
Author

positron96 commented May 14, 2021

I'll squash the commits in the nearest future.
Anyway, could you elaborate more on Makefiles? It makes no difference for PIO users since PlatformIO uses its own build system (in a way, PIO is a build system)

…y matches what Arduino IDE creates.

added newline at end of file

ignoring platformio folders.
@avion23
Copy link

avion23 commented Jul 9, 2021

This MR would help me tremendously.

I can see that there is already a make-system. But platformio is the one build system to rule them all and supports all kinds of flashers and bootloaders.

@dsiguero
Copy link

dsiguero commented Aug 2, 2021

What's the rationale for not merging this?

@rob-deutsch
Copy link

I would also like to see this merged. PlatformIO is a wonderful build system which makes it much easier to get up and running with GRBL.

@NuwanJ
Copy link

NuwanJ commented Oct 21, 2023

Agree with you @rob-deutsch. Having a Makefile is ok. But platformio.ini is more than a build config file, which allows to compile/build GRBL with VS Code + Platform IO easily.

@mydani
Copy link

mydani commented Jan 28, 2024

One more voting for the merge of this PR - platformio is status-quo for sophisticated development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants