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

Build All Configurations Status - August 2024 #1086

Closed
thisiskeithb opened this issue Aug 14, 2024 · 0 comments
Closed

Build All Configurations Status - August 2024 #1086

thisiskeithb opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thisiskeithb
Copy link
Member

thisiskeithb commented Aug 14, 2024

Description

Results of Marlin's build_all_examples script on MarlinFirmware/Marlin@ed7f3b2.

These configs will not build for the reason listed, so this issue was created as a "to-do list" to fix them:

Waiting on Upstream Support

Creality/Ender-5 S1/

Needs:

PR submitted to flip LCD languages/workaround LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE. error.

New (expected) error: fatal error: ../../lcd/rts/lcd_rts.h: No such file or directory

Original LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE error:

Testing Creality/Ender-5 S1/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/Creality/Ender-5 S1/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Building environment STM32F401RE_creality for board CREALITY_F401RE (5246)...

In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/HAL.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/HAL.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/HAL_SPI.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/HardwareSerial.cpp:32:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/HAL_SPI.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/HardwareSerial.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/MarlinSerial.cpp:27:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/MarlinSerial.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/Servo.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/dogm/../../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/dogm/u8g_com_stm32duino_swspi.cpp:25:
Marlin/src/HAL/STM32/dogm/../../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_bl24cxx.cpp:32:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/Servo.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/dogm/u8g_com_stm32duino_swspi.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_bl24cxx.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_flash.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_if_iic.cpp:32:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_flash.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_sdcard.cpp:31:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_if_iic.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_wired.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/eeprom_sram.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/fast_pwm.cpp:27:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_sdcard.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_sram.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/eeprom_wired.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/fastio.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/fast_pwm.cpp.o] Error 1
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/sdio.cpp:27:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/usb_host.cpp:27:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/STM32/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/STM32/timers.cpp:26:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/fastio.cpp.o] Error 1
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/shared/Delay.cpp:25:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/usb_host.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/sdio.cpp.o] Error 1
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/shared/HAL.cpp:27:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/STM32/timers.cpp.o] Error 1
In file included from Marlin/src/HAL/shared/../../core/../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/shared/../../core/serial.h:24,
                 from Marlin/src/HAL/shared/MinSerial.h:24,
                 from Marlin/src/HAL/shared/MinSerial.cpp:22:
Marlin/src/HAL/shared/../../core/../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin/src/HAL/shared/backtrace/../../../core/../inc/MarlinConfig.h:68,
                 from Marlin/src/HAL/shared/backtrace/../../../core/serial.h:24,
                 from Marlin/src/HAL/shared/backtrace/../MinSerial.h:24,
                 from Marlin/src/HAL/shared/backtrace/backtrace.cpp:28:
Marlin/src/HAL/shared/backtrace/../../../core/../inc/SanityCheck.h:2761:23: error: static assertion failed: Error: LCD_LANGUAGE_2 (en) cannot be the same as LCD_LANGUAGE.
 2761 |   static_assert(strcmp(STRINGIFY(LCD_LANGUAGE_2), STRINGIFY(LCD_LANGUAGE)), "Error: LCD_LANGUAGE_2 (" STRINGIFY(LCD_LANGUAGE) ") cannot be the same as LCD_LANGUAGE.");
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio/build/STM32F401RE_creality/src/src/HAL/shared/Delay.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/shared/HAL.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/shared/MinSerial.cpp.o] Error 1
*** [.pio/build/STM32F401RE_creality/src/src/HAL/shared/backtrace/backtrace.cpp.o] Error 1
================================================================= [FAILED] Took 14.77 seconds =================================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F401RE_creality  FAILED    00:00:14.771
============================================================ 1 failed, 0 succeeded in 00:00:14.771 ============================================================

Fixed

AnyCubic/Vyper/

Fixed in:

error: 'X_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'X_MIN_ENDSTOP_HIT_STATE'?

full error details:

Testing AnyCubic/Vyper/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/AnyCubic/Vyper/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Building environment trigorilla_v006 for board TRIGORILLA_V006 (5068)...

Marlin/src/inc/Warnings.cpp:768:4: warning: #warning "GD32 based controllers may not be fully compatible with STM32 platforms. Please report any issues." [-Wcpp]
  768 |   #warning "GD32 based controllers may not be fully compatible with STM32 platforms. Please report any issues."
      |    ^~~~~~~
In file included from Marlin/src/module/../inc/MarlinConfig.h:43,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::report_states()':
Marlin/src/module/../inc/Conditionals_post.h:899:44: error: 'X_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'X_MIN_ENDSTOP_HIT_STATE'?
  899 |           #define Z2_MIN_ENDSTOP_HIT_STATE X_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/endstops.cpp:409:64: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  409 |   #define ES_REPORT(S) print_es_state(READ_ENDSTOP(S##_PIN) == S##_ENDSTOP_HIT_STATE, F(STR_##S))
      |                                                                ^
Marlin/src/module/endstops.cpp:438:5: note: in expansion of macro 'ES_REPORT'
  438 |     ES_REPORT(Z2_MIN);
      |     ^~~~~~~~~
In file included from Marlin/src/module/../inc/MarlinConfigPre.h:37,
                 from Marlin/src/module/../inc/MarlinConfig.h:28,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::update()':
Marlin/src/module/../inc/Conditionals_post.h:899:44: error: 'X_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'X_MIN_ENDSTOP_HIT_STATE'?
  899 |           #define Z2_MIN_ENDSTOP_HIT_STATE X_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/../inc/../core/macros.h:69:36: note: in definition of macro 'SET_BIT_TO'
   69 | #define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
      |                                    ^~
Marlin/src/module/endstops.cpp:539:24: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  539 |   #define _ES_HIT(A,M) A##_##M##_ENDSTOP_HIT_STATE
      |                        ^
Marlin/src/module/endstops.cpp:540:129: note: in expansion of macro '_ES_HIT'
  540 |   #define UPDATE_LIVE_STATE(AXIS, MINMAX) SET_BIT_TO(live_state, ES_ENUM(AXIS, MINMAX), (READ_ENDSTOP(_ES_PIN(AXIS, MINMAX)) == _ES_HIT(AXIS, MINMAX)))
      |                                                                                                                                 ^~~~~~~
Marlin/src/module/endstops.cpp:637:5: note: in expansion of macro 'UPDATE_LIVE_STATE'
  637 |     UPDATE_LIVE_STATE(Z2, MIN);
      |     ^~~~~~~~~~~~~~~~~
*** [.pio/build/trigorilla_v006/src/src/module/endstops.cpp.o] Error 1
================================================================= [FAILED] Took 31.50 seconds =================================================================

Environment      Status    Duration
---------------  --------  ------------
trigorilla_v006  FAILED    00:00:31.504
============================================================ 1 failed, 0 succeeded in 00:00:31.504 ============================================================

AnyCubic/i3 Mega/Trigorilla Pro STM32/

Fixed in:

error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Z2_MAX_ENDSTOP_HIT_STATE'?

full error details:

Testing AnyCubic/i3 Mega/Trigorilla Pro STM32/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/AnyCubic/i3 Mega/Trigorilla Pro STM32/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Detected "Trigorilla Pro (STM32F103ZE)" | TRIGORILLA_PRO (5056).
Selected trigorilla_pro
Building environment trigorilla_pro for board TRIGORILLA_PRO (5056)...

In file included from Marlin/src/module/../inc/MarlinConfig.h:43,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::report_states()':
Marlin/src/module/../inc/Conditionals_post.h:907:44: error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Z2_MAX_ENDSTOP_HIT_STATE'?
  907 |           #define Z2_MIN_ENDSTOP_HIT_STATE Z_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/endstops.cpp:409:64: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  409 |   #define ES_REPORT(S) print_es_state(READ_ENDSTOP(S##_PIN) == S##_ENDSTOP_HIT_STATE, F(STR_##S))
      |                                                                ^
Marlin/src/module/endstops.cpp:438:5: note: in expansion of macro 'ES_REPORT'
  438 |     ES_REPORT(Z2_MIN);
      |     ^~~~~~~~~
In file included from Marlin/src/module/../inc/MarlinConfigPre.h:37,
                 from Marlin/src/module/../inc/MarlinConfig.h:28,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::update()':
Marlin/src/module/../inc/Conditionals_post.h:907:44: error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Z2_MAX_ENDSTOP_HIT_STATE'?
  907 |           #define Z2_MIN_ENDSTOP_HIT_STATE Z_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/../inc/../core/macros.h:69:36: note: in definition of macro 'SET_BIT_TO'
   69 | #define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
      |                                    ^~
Marlin/src/module/endstops.cpp:539:24: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  539 |   #define _ES_HIT(A,M) A##_##M##_ENDSTOP_HIT_STATE
      |                        ^
Marlin/src/module/endstops.cpp:540:129: note: in expansion of macro '_ES_HIT'
  540 |   #define UPDATE_LIVE_STATE(AXIS, MINMAX) SET_BIT_TO(live_state, ES_ENUM(AXIS, MINMAX), (READ_ENDSTOP(_ES_PIN(AXIS, MINMAX)) == _ES_HIT(AXIS, MINMAX)))
      |                                                                                                                                 ^~~~~~~
Marlin/src/module/endstops.cpp:637:5: note: in expansion of macro 'UPDATE_LIVE_STATE'
  637 |     UPDATE_LIVE_STATE(Z2, MIN);
      |     ^~~~~~~~~~~~~~~~~
*** [.pio/build/trigorilla_pro/src/src/module/endstops.cpp.o] Error 1
================================================================= [FAILED] Took 37.69 seconds =================================================================

Environment     Status    Duration
--------------  --------  ------------
trigorilla_pro  FAILED    00:00:37.692
============================================================ 1 failed, 0 succeeded in 00:00:37.692 ============================================================

Two Trees/Sapphire Plus/Sapphire Plus V2/

Fixed in:

error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Y_MAX_ENDSTOP_HIT_STATE'?

full error details:

Testing Two Trees/Sapphire Plus/Sapphire Plus V2/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/Two Trees/Sapphire Plus/Sapphire Plus V2/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Detected "MKS Robin Nano (STM32F103VE)" | MKS_ROBIN_NANO (5013).
Selected mks_robin_nano_v1v2
Building environment mks_robin_nano_v1v2 for board MKS_ROBIN_NANO (5013)...

In file included from Marlin/src/module/../inc/MarlinConfig.h:43,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::report_states()':
Marlin/src/module/../inc/Conditionals_post.h:907:44: error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Y_MAX_ENDSTOP_HIT_STATE'?
  907 |           #define Z2_MIN_ENDSTOP_HIT_STATE Z_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/endstops.cpp:409:64: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  409 |   #define ES_REPORT(S) print_es_state(READ_ENDSTOP(S##_PIN) == S##_ENDSTOP_HIT_STATE, F(STR_##S))
      |                                                                ^
Marlin/src/module/endstops.cpp:438:5: note: in expansion of macro 'ES_REPORT'
  438 |     ES_REPORT(Z2_MIN);
      |     ^~~~~~~~~
In file included from Marlin/src/module/../inc/MarlinConfigPre.h:37,
                 from Marlin/src/module/../inc/MarlinConfig.h:28,
                 from Marlin/src/module/endstops.h:28,
                 from Marlin/src/module/endstops.cpp:27:
Marlin/src/module/endstops.cpp: In static member function 'static void Endstops::update()':
Marlin/src/module/../inc/Conditionals_post.h:907:44: error: 'Z_MAX_ENDSTOP_HIT_STATE' was not declared in this scope; did you mean 'Y_MAX_ENDSTOP_HIT_STATE'?
  907 |           #define Z2_MIN_ENDSTOP_HIT_STATE Z_MAX_ENDSTOP_HIT_STATE
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/../inc/../core/macros.h:69:36: note: in definition of macro 'SET_BIT_TO'
   69 | #define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
      |                                    ^~
Marlin/src/module/endstops.cpp:539:24: note: in expansion of macro 'Z2_MIN_ENDSTOP_HIT_STATE'
  539 |   #define _ES_HIT(A,M) A##_##M##_ENDSTOP_HIT_STATE
      |                        ^
Marlin/src/module/endstops.cpp:540:129: note: in expansion of macro '_ES_HIT'
  540 |   #define UPDATE_LIVE_STATE(AXIS, MINMAX) SET_BIT_TO(live_state, ES_ENUM(AXIS, MINMAX), (READ_ENDSTOP(_ES_PIN(AXIS, MINMAX)) == _ES_HIT(AXIS, MINMAX)))
      |                                                                                                                                 ^~~~~~~
Marlin/src/module/endstops.cpp:637:5: note: in expansion of macro 'UPDATE_LIVE_STATE'
  637 |     UPDATE_LIVE_STATE(Z2, MIN);
      |     ^~~~~~~~~~~~~~~~~
*** [.pio/build/mks_robin_nano_v1v2/src/src/module/endstops.cpp.o] Error 1
================================================================= [FAILED] Took 38.47 seconds =================================================================

Environment          Status    Duration
-------------------  --------  ------------
mks_robin_nano_v1v2  FAILED    00:00:38.465
============================================================ 1 failed, 0 succeeded in 00:00:38.465 ============================================================

Creality/Ender-3 S1 Plus/

Fixed in:

error: 'LCD_LANGUAGE' was not declared in this scope

full error details:

Testing Creality/Ender-3 S1 Plus/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/Creality/Ender-3 S1 Plus/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Detected "Creality v2.4.S1_301F4 (STM32F401RC) as found in the Ender-3 S1 F4" | CREALITY_V24S1_301F4 (5240).
Selected STM32F401RC_creality
Building environment STM32F401RC_creality for board CREALITY_V24S1_301F4 (5240)...

In file included from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSScreenHandler.h:27,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp:30:
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../config/DGUS_Data.h:53:15: error: 'LCD_LANGUAGE' was not declared in this scope
   53 |     Default = LCD_LANGUAGE
      |               ^~~~~~~~~~~~
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../config/DGUS_Data.h:53:15: note: the macro 'LCD_LANGUAGE' had not yet been defined
In file included from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/../inc/MarlinConfig.h:57,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/cardreader.h:24,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSSDCardHandler.h:25,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSScreenHandler.h:31,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp:30:
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/../inc/../core/language.h:30: note: it was later defined here
   30 |   #define LCD_LANGUAGE en
      | 
*** [.pio/build/STM32F401RC_creality/src/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp.o] Error 1
================================================================= [FAILED] Took 39.59 seconds =================================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F401RC_creality  FAILED    00:00:39.590
============================================================ 1 failed, 0 succeeded in 00:00:39.590 ============================================================

Creality/Ender-3 S1 Pro/

Fixed in:

error: 'LCD_LANGUAGE' was not declared in this scope

full error details:

Testing Creality/Ender-3 S1 Pro/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/Creality/Ender-3 S1 Pro/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Detected "Creality v2.4.S1_301F4 (STM32F401RC) as found in the Ender-3 S1 F4" | CREALITY_V24S1_301F4 (5240).
Selected STM32F401RC_creality
Building environment STM32F401RC_creality for board CREALITY_V24S1_301F4 (5240)...

In file included from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSScreenHandler.h:27,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp:30:
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../config/DGUS_Data.h:53:15: error: 'LCD_LANGUAGE' was not declared in this scope
   53 |     Default = LCD_LANGUAGE
      |               ^~~~~~~~~~~~
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../config/DGUS_Data.h:53:15: note: the macro 'LCD_LANGUAGE' had not yet been defined
In file included from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/../inc/MarlinConfig.h:57,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/cardreader.h:24,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSSDCardHandler.h:25,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/../DGUSScreenHandler.h:31,
                 from Marlin/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp:30:
Marlin/src/lcd/extui/dgus_e3s1pro/definition/../../../../sd/../inc/../core/language.h:30: note: it was later defined here
   30 |   #define LCD_LANGUAGE en
      | 
*** [.pio/build/STM32F401RC_creality/src/src/lcd/extui/dgus_e3s1pro/definition/DGUS_VPList.cpp.o] Error 1
================================================================= [FAILED] Took 27.42 seconds =================================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F401RC_creality  FAILED    00:00:27.424
============================================================ 1 failed, 0 succeeded in 00:00:27.424 ============================================================

Anet/E16/Stock/

Fixed in:

Additional items disabled in:

Error: The program size (127068 bytes) is greater than maximum allowed (126976 bytes)

full error details:

Testing Anet/E16/Stock/:
Getting configuration files from ./.pio/build-import-2.1.x/config/examples/Anet/E16/Stock/
Building the firmware now...
/.platformio/penv/bin/pio

Auto Build...
Detected "Anet 1.0 (Melzi clone)" | ANET_10 (1511).
Selected sanguino1284p
Building environment sanguino1284p for board ANET_10 (1511)...

Error: The program size (127068 bytes) is greater than maximum allowed (126976 bytes)
*** [checkprogsize] Explicit exit, status 1
================================================================= [FAILED] Took 17.65 seconds =================================================================

Environment    Status    Duration
-------------  --------  ------------
sanguino1284p  FAILED    00:00:17.649
============================================================ 1 failed, 0 succeeded in 00:00:17.649 ============================================================

@thisiskeithb thisiskeithb added the bug Something isn't working label Aug 14, 2024
@thisiskeithb thisiskeithb self-assigned this Aug 14, 2024
@MarlinFirmware MarlinFirmware locked and limited conversation to collaborators Aug 14, 2024
@thisiskeithb thisiskeithb pinned this issue Aug 14, 2024
@thisiskeithb thisiskeithb unpinned this issue Sep 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant