Skip to content
New issue

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

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

Already on GitHub? # to your account

platform.txt for a specific sketch #6032

Closed
Wurstnase opened this issue Mar 2, 2017 · 2 comments
Closed

platform.txt for a specific sketch #6032

Wurstnase opened this issue Mar 2, 2017 · 2 comments

Comments

@Wurstnase
Copy link

Hi all,

I'm working on a project which needs some special flags for the compiler. While this could be add in a the platform.local.txt or platform.txt, it would be great if someone could add a platform.sketch.txt or similar in the sketch-folder, which is also used for compiling.

Whit that, we could add compiler options individually for each project.

Or are there any other ideas to add individual flags for the compiler for a specific sketch?

@facchinm
Copy link
Member

facchinm commented Mar 2, 2017

Hi @Wurstnase ,
the feature you are requesting has been proposed multiple times (see #5084 (comment) for a sum-up) but was always rejected since we know that developers' imagination is endless and we would end up with very subtle and non reproducible bugs. However, sooner or later we could adopt a soft version of one of these proposal, leaving the opportunity to change small bits of the platform configuration at runtime.

@Wurstnase
Copy link
Author

Hi @facchinm,
Not the answer I want to hear, but thank you for the quick response.

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

No branches or pull requests

2 participants