Skip to content

Fix causes of compilation errors in .ini and marlin.py#355

Closed
Thinkersbluff wants to merge 6 commits intoCR6Community:extuifrom
Thinkersbluff:Fix-causes-of-compilation-errors-in-.ini-and-marlin.py
Closed

Fix causes of compilation errors in .ini and marlin.py#355
Thinkersbluff wants to merge 6 commits intoCR6Community:extuifrom
Thinkersbluff:Fix-causes-of-compilation-errors-in-.ini-and-marlin.py

Conversation

@Thinkersbluff
Copy link

Description

Requirements

Benefits

Configurations

Related Issues

Thinkersbluff and others added 6 commits July 15, 2025 14:52
We now have definitive proof that the 4.5.3 version also supports the 1.1.0.3 ERA motherboard.  No need to caveat that "at least one user has confirmed" this.
- Replace deprecated 'src_filter' with 'build_src_filter' in all environments
- Replace deprecated 'src_build_flags' with 'build_src_flags' in linux_native environment
- Replace deprecated 'monitor_flags' with modern equivalents:
  - monitor_filters for colorize and time filters
  - monitor_echo for echo functionality
  - monitor_eol for line ending configuration
- Fix Python runtime error in marlin.py by wrapping iterator with list()

These changes eliminate all PlatformIO deprecation warnings when building
firmware and ensure compatibility with newer PlatformIO versions.

Fixes build warnings in environments:
- DUE
- SAMD51_grandcentral_m4
- malyan_M300
- esp32
- teensy31, teensy35, teensy36, teensy41
- linux_native
- include_tree
- Add comprehensive build_src_filter to include all required feature source files
- Resolves 'Unknown MOTHERBOARD value' error by ensuring proper platform detection
- Includes missing G-code and M-code command implementations
- Adds support for enabled features: babystep, powerloss, emergency parser, etc.
- Build now compiles successfully for STM32F103RET6 Creality boards

Fixes compilation errors in PlatformIO build for CR6 Community Marlin firmware.
- Ignore build_output*.log files generated during compilation
- Ignore compile_commands.json generated by PlatformIO
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