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.28k stars 19.23k forks source link

[BUG] Compile Error Crealtiy Ender 3V2 with BLTouch #24497

Closed gorillale closed 2 years ago

gorillale commented 2 years ago

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

Yes, and the problem still exists.

Bug Description

I think i will be a last try: I will be compile new 2.1 Version with VSC (include Config 2.1.0.1) Now i have aktivated BLTouch: Result: In file included from Marlin\src\HAL\STM32../../inc/MarlinConfig.h:49, from Marlin\src\HAL\STM32\HAL.cpp:27: Marlin\src\HAL\STM32../../inc/SanityCheck.h:1976:6: error: #error "LCD_BED_LEVELING is not supported by the selected LCD controller."
1976 | #error "LCD_BED_LEVELING is not supported by the selected LCD controller." | ^~~~~

I cant find what is to do. The LCD ist Creality aktivated Both not work:

define DWIN_CREALITY_LCD // Creality UI

//#define DWIN_LCD_PROUI // Pro UI by MRiscoC or //#define DWIN_CREALITY_LCD // Creality UI

define DWIN_LCD_PROUI // Pro UI by MRiscoC

Is BLTouch no more useable? With 2.9.0.2 it works?

On platformio.ini i have aktivated STM32F103RE_creality before STM32F103RET6_creality

Bug Timeline

14.7.2022

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

2.1

Printer model

Ender 3 V2 4.2.2 Board

Electronics

bl touch creality

Add-ons

No response

Bed Leveling

UBL Bilinear mesh

Your Slicer

Slic3r

Host Software

Repetier Host

Don't forget to include

Additional information & file uploads

Marlin.zip

thisiskeithb commented 2 years ago

error "LCD_BED_LEVELING is not supported by the selected LCD controller.

Disable LCD_BED_LEVELING because it’s not supported by your LCD controller.

gorillale commented 2 years ago

im wondering.... on 2.0.9.2 it works ? Why you disable this on 2.1?

thisiskeithb commented 2 years ago

You need to enable DWIN_MARLINUI_PORTRAIT or DWIN_MARLINUI_LANDSCAPE to use LCD_BED_LEVELING.


This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.

gorillale commented 2 years ago

Sorry not understand why i sould use Marli-UI when this is working befor with creality.

ellensp commented 2 years ago

you are mistaken Creality UI has bed leveling with AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_LINEAR, or AUTO_BED_LEVELING_3POINT

this not LCD_BED_LEVELING

gorillale commented 2 years ago

Thanks for the help, but I'm still surprised that it worked with 2.0.9.2 and I got all 9 points displayed on a score screen. And now it suddenly doesn't work anymore, too bad. This is a really useful feature and helps with leveling. I will try again.

github-actions[bot] commented 2 years 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.