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

Ender 3 V2 DWIN Display MarlinUI Building Fails #19653

Closed
lgndns opened this issue Oct 7, 2020 · 3 comments
Closed

Ender 3 V2 DWIN Display MarlinUI Building Fails #19653

lgndns opened this issue Oct 7, 2020 · 3 comments

Comments

@lgndns
Copy link

lgndns commented Oct 7, 2020

Hi :) I'm having so much errors when i try to use the MarlinUI for my Ender 3 V2 Controller.

Error From the Terminal:
Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\dwin\e3v2\rotary_encoder.cpp.o
In file included from .pio\libdeps\STM32F103RET6_creality\LiquidCrystal/LiquidCrystal.h:45:0,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:96,
from Marlin\src\lcd\HD44780\lcdprint_hd44780.cpp:22:
.pio\libdeps\STM32F103RET6_creality\LiquidCrystal/FastIO.h:69:0: warning: "ATOMIC_BLOCK" redefined
#define ATOMIC_BLOCK(dummy) if(true)

In file included from Marlin\src\lcd\HD44780../../inc/../HAL/./STM32F1/HAL.h:41:0,
from Marlin\src\lcd\HD44780../../inc/../HAL/HAL.h:26,
from Marlin\src\lcd\HD44780../../inc/MarlinConfig.h:30,
from Marlin\src\lcd\HD44780../ultralcd.h:24,
from Marlin\src\lcd\HD44780\lcdprint_hd44780.cpp:19:
C:\Users\nuret.platformio\packages\framework-arduinoststm32-maple\STM32F1\system\libmaple\include/util/atomic.h:51:0: note: this is the location
of the previous definition
#define ATOMIC_BLOCK(type) \

In file included from .pio\libdeps\STM32F103RET6_creality\LiquidCrystal/LiquidCrystal.h:45:0,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:96,
Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\anycubic_chiron\FileNavigator.cpp.o
from Marlin\src\lcd\HD44780\lcdprint_hd44780.cpp:22:
.pio\libdeps\STM32F103RET6_creality\LiquidCrystal/FastIO.h:70:0: warning: "ATOMIC_RESTORESTATE" redefined
Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\anycubic_chiron\Tunes.cpp.o
#define ATOMIC_RESTORESTATE

In file included from Marlin\src\lcd\HD44780../../inc/../HAL/./STM32F1/HAL.h:41:0,
from Marlin\src\lcd\HD44780../../inc/../HAL/HAL.h:26,
from Marlin\src\lcd\HD44780../../inc/MarlinConfig.h:30,
Compiling .pio\build\STM32F103RET6_creality\src\src\lcd\extui\lib\anycubic_chiron\chiron_tft.cpp.o
from Marlin\src\lcd\HD44780../ultralcd.h:24,
from Marlin\src\lcd\HD44780\lcdprint_hd44780.cpp:19:
C:\Users\nuret.platformio\packages\framework-arduinoststm32-maple\STM32F1\system\libmaple\include/util/atomic.h:54:0: note: this is the location
of the previous definition
#define ATOMIC_RESTORESTATE \

In file included from .pio\libdeps\STM32F103RET6_creality\LiquidCrystal/LiquidCrystal.h:45:0,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:96,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:34:
.pio\libdeps\STM32F103RET6_creality\LiquidCrystal/FastIO.h:69:0: warning: "ATOMIC_BLOCK" redefined
#define ATOMIC_BLOCK(dummy) if(true)

In file included from Marlin\src\lcd\HD44780../../inc/../HAL/./STM32F1/HAL.h:41:0,
from Marlin\src\lcd\HD44780../../inc/../HAL/HAL.h:26,
from Marlin\src\lcd\HD44780../../inc/MarlinConfig.h:30,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:28,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:34:
C:\Users\nuret.platformio\packages\framework-arduinoststm32-maple\STM32F1\system\libmaple\include/util/atomic.h:51:0: note: this is the location
of the previous definition
#define ATOMIC_BLOCK(type) \

In file included from .pio\libdeps\STM32F103RET6_creality\LiquidCrystal/LiquidCrystal.h:45:0,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:96,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:34:
.pio\libdeps\STM32F103RET6_creality\LiquidCrystal/FastIO.h:70:0: warning: "ATOMIC_RESTORESTATE" redefined
#define ATOMIC_RESTORESTATE

In file included from Marlin\src\lcd\HD44780../../inc/../HAL/./STM32F1/HAL.h:41:0,
from Marlin\src\lcd\HD44780../../inc/../HAL/HAL.h:26,
from Marlin\src\lcd\HD44780../../inc/MarlinConfig.h:30,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.h:28,
from Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:34:
C:\Users\nuret.platformio\packages\framework-arduinoststm32-maple\STM32F1\system\libmaple\include/util/atomic.h:54:0: note: this is the location
of the previous definition
#define ATOMIC_RESTORESTATE \

Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:99:17: error: 'LCD_PINS_RS' was not declared in this scope
LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
^~~~~~~~~~~
Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:99:17: note: suggested alternative: 'LCD_PINS_D5'
LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
^~~~~~~~~~~
LCD_PINS_D5
^~~~~~~~~~~~~~~
Marlin\src\lcd\HD44780\ultralcd_HD44780.cpp:99:30: note: suggested alternative: 'LCD_PINS_D5'
LCD_CLASS lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5, LCD_PINS_D6, LCD_PINS_D7);
^~~~~~~~~~~~~~~
LCD_PINS_D5
*** [.pio\build\STM32F103RET6_creality\src\src\lcd\HD44780\ultralcd_HD44780.cpp.o] Error 1
========================================================== [FAILED] Took 46.84 seconds ==========================================================

Environment Status Duration


STM32F103RET6_creality FAILED 00:00:46.840
===================================================== 1 failed, 0 succeeded in 00:00:46.840 =====================================================

@ETE-Design
Copy link
Contributor

That's because it isen't supported yet... Look here: #19371

@thisiskeithb
Copy link
Member

Closing since this is an alpha feature. Subscribe to #19371 for updates on progress since it's still in Alpha support.

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

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.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants