Skip to content

Fix schema.py to work in Windows, update buildroot/bin files - #27549

Merged
thinkyhead merged 11 commits into
MarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-November1
Dec 1, 2024
Merged

Fix schema.py to work in Windows, update buildroot/bin files#27549
thinkyhead merged 11 commits into
MarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-November1

Conversation

@classicrocker883

@classicrocker883 classicrocker883 commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

Description

schema.py

  • add encoding='utf-8' to Path.open()
    This allows CONFIG_EXPORT in Configuration_adv.h to work in Windows, otherwise this error appears:
Error: 'charmap' codec can't decode byte 0x90...

buildroot/bin files

  • Removed i variable from build_example because that appears to go unused?? maybe??
  • Removed b variable from mftest because that appears to go unused?? maybe??
  • Arrange as alphabetized

Requirements

Benefits

Configurations

Related Issues

@classicrocker883 classicrocker883 changed the title Fix schema.py to work in Windows Fix **schema.py** to work in Windows, update **buildroot/bin** files Nov 28, 2024
@classicrocker883 classicrocker883 changed the title Fix **schema.py** to work in Windows, update **buildroot/bin** files Fix schema.py to work in Windows, update buildroot/bin files Nov 28, 2024
@thinkyhead
thinkyhead merged commit 3591eb5 into MarlinFirmware:bugfix-2.1.x Dec 1, 2024
@classicrocker883
classicrocker883 deleted the bugfix-2.1.x-November1 branch January 8, 2025 04:36
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants