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

Update platformio.ini #348

Closed

Conversation

TBArchives
Copy link

Description

Replaces two features to be deprecated at next release of Platformio:

src_filter -> build_src_filter
src_build_flags -> build_src_flags

Benefits

Avoids compilation errors when the features are deprecated.

Replaces:
    for define in env['CPPDEFINES']:

with:
    envdefs = env['CPPDEFINES'].copy()
    for define in envdefs:

in buildroot\share\PlatformIO\scripts\marlin.py
on extui branch
Indent was spaces, is now tab
The monitor_flags command is no longer available in Platformio. Commented it out, to preserve the settings for reference, in case a future problem requires implementing this redacted functionality in a new way.
Replace src_filter with build_src_filter
Replace src_build_flags with build_src_flags
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.

1 participant