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

Community Firmware Compile Fails with Latest VSCode 1.74.3 #334

Open
ritchiedc opened this issue Jan 20, 2023 · 1 comment
Open

Community Firmware Compile Fails with Latest VSCode 1.74.3 #334

ritchiedc opened this issue Jan 20, 2023 · 1 comment

Comments

@ritchiedc
Copy link

Did you test the latest extui code or prerelease?

Yes, and the problem still exists.

Bug Description

The community firmware release 6.1 source code fails to compile with the latest VSCode v1.74.3. The static_assert lines in EstepsHandler.cpp and PIDHandler.cpp causes the compile to terminate. These appeared to be ignored in previous versions of VSCode. I completely removed VSCode and installed v1.60.0. The CFW code compiled without error. I then updated VSCode to the latest v1.74.3 from within VSCode. It now fails as follows

Marlin\src\lcd\extui\dgus_creality\creality_touch\EstepsHandler.cpp:47:47: error: static assertion failed: Assuming PURGE_LENGTH is 0 so we can use M701

The compile will complete successfully by removing the static_assert line.

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of CR6Community Firmware

CF6.1

Printer model

Creality CR-6 SE

Motherboard

BigTreeTech SKR CR6

Display

Creality CR-6 stock touch screen

Mods

Direct drive

Add-ons

No response

Bed Leveling

None

Your Slicer

None

Host Software

None

@ghost
Copy link

ghost commented Mar 4, 2024

Pull Request #347 submitted, proposing to patch the extui branch version of buildroot\share\PlatformIO\scripts\marlin.py\marlin.py per the verified fix we keep posting to the Discord:

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

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

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

No branches or pull requests

1 participant