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

Specific build_flags in [env:*] cause PlatformIO runtime error. #552

Closed
myrrlyn opened this issue Mar 2, 2016 · 2 comments
Closed

Specific build_flags in [env:*] cause PlatformIO runtime error. #552

myrrlyn opened this issue Mar 2, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@myrrlyn
Copy link

myrrlyn commented Mar 2, 2016

I've found a fault in how PlatformIO processes CCFLAGS-modifying options in the build_flags environment section of platformio.ini.

I've attached a brief overview of my system, my platformio.ini file, and the log of platformio run's output.

https://gist.github.com/myrrlyn/c1f3a2fd5e6a8d0ef613

@ivankravets ivankravets added the bug label Mar 3, 2016
@ivankravets ivankravets added this to the 2.8.5 milestone Mar 3, 2016
@ivankravets ivankravets self-assigned this Mar 3, 2016
@ivankravets
Copy link
Member

  • If you use PlatformIO IDE, please click on Gear(Settings) icons, Community Packages > platformio-ide > Settings > Use development version of PlatformIO.

Please re-test it.

@ivankravets
Copy link
Member

Also, build_flags = -include Arduino.h will raise error. That is OK, because you are going "to insert" into EACH build file "Arduino.h" which raises conflicts.

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

No branches or pull requests

2 participants