MarlinFirmware / Configurations

Configurations for Marlin Firmware
https://marlinfw.org
GNU General Public License v3.0
2.02k stars 3.36k forks source link

Marlin compilation error for skr v1.4 turbo with Ender 3 v2 screen DWIN_CREALITY_LCD #305

Closed Azhaguvel19 closed 3 years ago

Azhaguvel19 commented 3 years ago

I have replaced my ender 3 v2 board with skr V1.4 turbo and using the same ender 3 v2 display but I am not able to compile the marlin code for it. I am getting the following errors. It compiles fine if I comment #define DWIN_CREALITY_LCD and enable #define REPRAP_DISCOUNT_SMART_CONTROLLER. It compiles and the board is working with rerap discount controller which I had as a spare.

Marlin\src\lcd\dwin\rotary_encoder.cpp:52:9: error: 'BEEPER_PIN' was not declared in this scope Marlin\src\lcd\dwin\rotary_encoder.h:46:34: error: 'BTN_EN1' was not declared in this scope Marlin\src\lcd\dwin\rotary_encoder.h:46:34: error: 'BTN_EN2' was not declared in this scope Marlin\src\lcd\dwin\rotary_encoder.h:46:34: error: 'BTN_ENC' was not declared in this scope Marlin\src\lcd\dwin\dwin.cpp:2024:11: error: 'strcat_P' was not declared in this scope; did you mean 'strcat'? Marlin\src\lcd\dwin\dwin.cpp:2140:5: error: 'buzzer' was not declared in this scope Marlin\src\lcd\dwin\dwin.cpp:2145:5: error: 'buzzer' was not declared in this scope

image

Seems this is because skr v1.4 board pins file does not have any Configs for DWIN_CREALITY_LCD.

Azhaguvel19 commented 3 years ago

tried this then I get the str function error.

image

image

Azhaguvel19 commented 3 years ago

If I change that then I end up with this error

image

thisiskeithb commented 3 years ago

The stock Creality Ender-3 V2 LCD is not supported on other boards at this time.


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.