MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.24k stars 19.22k forks source link

[BUG] Compilation error: #error "GRID_MAX_POINTS_[XY] must be a whole number between 3 and 15." #26776

Closed WillShawx closed 8 months ago

WillShawx commented 8 months ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

Doesn't compile due to error in ABL Grid sizing

Bug Timeline

new - today

Expected behavior

I expected the FW to compile

Actual behavior

error occurred - Compilation error: #error "GRID_MAXPOINTS[XY] must be a whole number between 3 and 15."

Steps to Reproduce

attempt to compile attached config

Version of Marlin Firmware

2.1.2.1

Printer model

Custom build

Electronics

MKS Gen V1.4

LCD/Controller

RepRap Discount Full Graphic Smart Controller

Other add-ons

BLTouch

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

OctoPrint

Don't forget to include

Additional information & file uploads

Marlin.zip

plampix commented 8 months ago

On line 1979 of Configuration.h:

elif ENABLED(AUTO_BEDLEVELING)

Should be

elif ENABLED(AUTO_BED_LEVELING_UBL)

ellensp commented 8 months ago

Yes this is a user generated issue

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.