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

Fixes from "Build All Examples" Script #737

Merged
merged 2 commits into from
May 19, 2022
Merged

Fixes from "Build All Examples" Script #737

merged 2 commits into from
May 19, 2022

Conversation

thisiskeithb
Copy link
Member

@thisiskeithb thisiskeithb commented May 16, 2022

Description

Fix up configs so they are buildable using Marlin's buildroot/bin/build_all_examples test script.

This is one giant commit, but I can break it up into several commits/descriptions if you have questions (or just comment on the line(s).)

Benefits

Most configs are buildable now!

The outstanding / unbuildable configs are listed below. Also, some of those require fixes in the main Marin repo.

@thisiskeithb
Copy link
Member Author

thisiskeithb commented May 17, 2022

Creality/Ender-3/FYSETC Cheetah 1.2/BLTouch:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Creality/Ender-3/FYSETC Cheetah 1.2/BLTouch/
Building the firmware now...

Auto Build...
Detected "FYSETC Cheetah V1.2" | FYSETC_CHEETAH_V12 (4034).
Selected STM32F103RC_fysetc
Building environment STM32F103RC_fysetc for board FYSETC_CHEETAH_V12 (4034)...

Marlin/src/HAL/STM32/timers.cpp:328:40: error: static assertion failed: One or more timer conflict detected. Examine "timers_in_use" to help identify conflict.
  328 | static_assert(verify_no_timer_conflicts(), "One or more timer conflict detected. Examine \"timers_in_use\" to help identify conflict.");
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~^~
*** [.pio/build/STM32F103RC_fysetc/src/src/HAL/STM32/timers.cpp.o] Error 1
========== [FAILED] Took 22.29 seconds ==========

Environment         Status    Duration
------------------  --------  ------------
STM32F103RC_fysetc  FAILED    00:00:22.295
========== 1 failed, 0 succeeded in 00:00:22.295 ==========
Success

(Temperature & Servo conflict)


Creality/Ender-3/FYSETC Cheetah/BLTouch:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Creality/Ender-3/FYSETC Cheetah/BLTouch/
Building the firmware now...

Auto Build...
Detected "FYSETC Cheetah" | FYSETC_CHEETAH (4033).
Selected STM32F103RC_fysetc
Building environment STM32F103RC_fysetc for board FYSETC_CHEETAH (4033)...

Marlin/src/HAL/STM32/timers.cpp:328:40: error: static assertion failed: One or more timer conflict detected. Examine "timers_in_use" to help identify conflict.
  328 | static_assert(verify_no_timer_conflicts(), "One or more timer conflict detected. Examine \"timers_in_use\" to help identify conflict.");
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~^~
*** [.pio/build/STM32F103RC_fysetc/src/src/HAL/STM32/timers.cpp.o] Error 1
========== [FAILED] Took 13.14 seconds ==========

Environment         Status    Duration
------------------  --------  ------------
STM32F103RC_fysetc  FAILED    00:00:13.140
========== 1 failed, 0 succeeded in 00:00:13.140 ==========
Success

(Temperature & Servo conflict)


FoamCutter:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/FoamCutter/
Building the firmware now...

Auto Build...
Detected "RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)" | RAMPS_14_EFB (1020).
Selected mega2560
Building environment mega2560 for board RAMPS_14_EFB (1020)...

In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/HAL.cpp:24:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/HAL_SPI.cpp:34:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/MarlinSerial.cpp:39:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/Servo.cpp:55:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/eeprom.cpp:24:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/fast_pwm.cpp:24:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/AVR/watchdog.cpp:24:
Marlin/src/HAL/AVR/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/shared/Delay.cpp:25:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../core/../inc/MarlinConfig.h:50:0,
                 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:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/shared/HAL.cpp:27:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/shared/esp_wifi.cpp:23:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/HAL/shared/servo.cpp:53:
Marlin/src/HAL/shared/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
*** [.pio/build/mega2560/src/src/HAL/AVR/HAL.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/HAL_SPI.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/Servo.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/MarlinSerial.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/eeprom.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/fast_pwm.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/watchdog.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/Delay.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/MinSerial.cpp.o] Error 1
In file included from Marlin/src/inc/MarlinConfig.h:50:0,
                 from Marlin/src/MarlinCore.h:24,
                 from Marlin/src/MarlinCore.cpp:31:
Marlin/src/inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
*** [.pio/build/mega2560/src/src/HAL/shared/HAL.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/servo.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/esp_wifi.cpp.o] Error 1
In file included from Marlin/src/core/../inc/MarlinConfig.h:50:0,
                 from Marlin/src/core/serial.h:24,
                 from Marlin/src/core/serial.cpp:23:
Marlin/src/core/../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/core/../inc/MarlinConfig.h:50:0,
                 from Marlin/src/core/../MarlinCore.h:24,
                 from Marlin/src/core/utility.cpp:25:
Marlin/src/core/../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/feature/../inc/MarlinConfig.h:50:0,
                 from Marlin/src/feature/ammeter.cpp:23:
Marlin/src/feature/../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/gcode/calibrate/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/calibrate/G28.cpp:23:
Marlin/src/gcode/calibrate/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M200-M205.cpp:23:
Marlin/src/gcode/config/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M220.cpp:23:
Marlin/src/gcode/config/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
*** [.pio/build/mega2560/src/src/core/serial.cpp.o] Error 1
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M221.cpp:23:
Marlin/src/gcode/config/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/config/M301.cpp:23:
Marlin/src/gcode/config/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:50:0,
                 from Marlin/src/gcode/config/M302.cpp:23:
Marlin/src/gcode/config/../../inc/SanityCheck.h:1473:4: error: #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
   #error "FOAMCUTTER_XYUV requires NUM_AXES >= 5."
    ^~~~~
*** [.pio/build/mega2560/src/src/core/utility.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/MarlinCore.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/feature/ammeter.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/calibrate/G28.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M220.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M200-M205.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M221.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M301.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M302.cpp.o] Error 1
========== [FAILED] Took 6.65 seconds ==========

Environment    Status    Duration
-------------  --------  ------------
mega2560       FAILED    00:00:06.650
========== 1 failed, 0 succeeded in 00:00:06.650 ==========
Success

(Impossible board/config)


Geeetech/A30M:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Geeetech/A30M/
Building the firmware now...

Auto Build...
Detected "STM32F103VE controller" | GTM32_MINI_A30 (4007).
Selected STM32F103VE
Building environment STM32F103VE for board GTM32_MINI_A30 (4007)...

In file included from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/WString.h:29,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/Print.h:27,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/Stream.h:26,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/HardwareSerial.h:29,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/WSerial.h:5,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/wiring.h:47,
                 from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/Arduino.h:36,
                 from Marlin/src/lcd/HD44780/../../inc/../HAL/./STM32/../shared/Marduino.h:36,
                 from Marlin/src/lcd/HD44780/../../inc/../HAL/./STM32/HAL.h:28,
                 from Marlin/src/lcd/HD44780/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/lcd/HD44780/../../inc/MarlinConfig.h:31,
                 from Marlin/src/lcd/HD44780/marlinui_HD44780.h:28,
                 from Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:34:
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp: In static member function 'static void MarlinUI::draw_status_screen()':
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:896:44: warning: '%%' directive writing 1 byte into a region of size between 0 and 6 [-Wformat-overflow=]
  896 |             sprintf_P(mixer_messages, PSTR("%s %d;%d%% "), mix_label, int(mixer.mix[0]), int(mixer.mix[1]));
/Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/avr/pgmspace.h:71:40: note: in definition of macro 'sprintf_P'
   71 | #define sprintf_P(s, ...) sprintf((s), __VA_ARGS__)
      |                                        ^~~~~~~~~~~
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:896:39: note: in expansion of macro 'PSTR'
  896 |             sprintf_P(mixer_messages, PSTR("%s %d;%d%% "), mix_label, int(mixer.mix[0]), int(mixer.mix[1]));
      |                                       ^~~~
/Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/avr/pgmspace.h:71:34: note: 'sprintf' output between 9 and 15 bytes into a destination of size 12
   71 | #define sprintf_P(s, ...) sprintf((s), __VA_ARGS__)
      |                           ~~~~~~~^~~~~~~~~~~~~~~~~~
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp:896:13: note: in expansion of macro 'sprintf_P'
  896 |             sprintf_P(mixer_messages, PSTR("%s %d;%d%% "), mix_label, int(mixer.mix[0]), int(mixer.mix[1]));
      |             ^~~~~~~~~
Success


JGAurora/A1:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/JGAurora/A1/
Building the firmware now...

Auto Build...
Detected "JGAurora A5S A1 (STM32F103ZE)" | JGAURORA_A5S_A1 (4031).
Selected jgaurora_a5s_a1
Building environment jgaurora_a5s_a1 for board JGAURORA_A5S_A1 (4031)...

*** [.pio/build/jgaurora_a5s_a1/firmware.bin] .pio/build/jgaurora_a5s_a1/firmware.bin: No such file or directory
========== [FAILED] Took 46.33 seconds ==========

Environment      Status    Duration
---------------  --------  ------------
jgaurora_a5s_a1  FAILED    00:00:46.333
========== 1 failed, 0 succeeded in 00:00:46.333 ==========
Success

(Something is failing in the rename/build script)


JGAurora/A5S:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/JGAurora/A5S/
Building the firmware now...

Auto Build...
Detected "JGAurora A5S A1 (STM32F103ZE)" | JGAURORA_A5S_A1 (4031).
Selected jgaurora_a5s_a1
Building environment jgaurora_a5s_a1 for board JGAURORA_A5S_A1 (4031)...

*** [.pio/build/jgaurora_a5s_a1/firmware.bin] .pio/build/jgaurora_a5s_a1/firmware.bin: No such file or directory
========== [FAILED] Took 34.19 seconds ==========

Environment      Status    Duration
---------------  --------  ------------
jgaurora_a5s_a1  FAILED    00:00:34.188
========== 1 failed, 0 succeeded in 00:00:34.188 ==========
Success

(Something is failing in the rename/build script)


Malyan/M200:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Malyan/M200/
Building the firmware now...

Auto Build...
Detected "STM32C8 Libmaple-based STM32F1 controller" | MALYAN_M200 (4003).
Selected STM32F103CB_malyan
Building environment STM32F103CB_malyan for board MALYAN_M200 (4003)...

In file included from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/stm32/startup_stm32yyxx.S:1:
/Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/stm32/stm32_def_build.h:381:4: warning: #warning "No CMSIS startup file defined, custom one should be used" [-Wcpp]
  381 |   #warning "No CMSIS startup file defined, custom one should be used"
      |    ^~~~~~~
Success

(Not sure if this warning should be addressed)


Nextion:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Nextion/
Building the firmware now...

Auto Build...
Detected "RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)" | RAMPS_14_EFB (1020).
Selected mega2560
Building environment mega2560 for board RAMPS_14_EFB (1020)...

In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/HAL.cpp:24:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/HAL_SPI.cpp:34:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/MarlinSerial.cpp:39:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/Servo.cpp:55:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/eeprom.cpp:24:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/fast_pwm.cpp:24:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/AVR/watchdog.cpp:24:
Marlin/src/HAL/AVR/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/shared/Delay.cpp:25:
Marlin/src/HAL/shared/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/shared/HAL.cpp:27:
Marlin/src/HAL/shared/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../core/../inc/MarlinConfig.h:51:0,
                 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/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/shared/esp_wifi.cpp:23:
Marlin/src/HAL/shared/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/HAL/shared/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/HAL/shared/servo.cpp:53:
Marlin/src/HAL/shared/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/HAL/AVR/HAL.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/HAL_SPI.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/Servo.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/MarlinSerial.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/fast_pwm.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/eeprom.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/AVR/watchdog.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/Delay.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/HAL.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/MinSerial.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/HAL/shared/esp_wifi.cpp.o] Error 1
In file included from Marlin/src/inc/MarlinConfig.h:51:0,
                 from Marlin/src/MarlinCore.h:24,
                 from Marlin/src/MarlinCore.cpp:31:
Marlin/src/inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/core/../inc/MarlinConfig.h:51:0,
                 from Marlin/src/core/serial.h:24,
                 from Marlin/src/core/serial.cpp:23:
Marlin/src/core/../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/HAL/shared/servo.cpp.o] Error 1
In file included from Marlin/src/core/../inc/MarlinConfig.h:51:0,
                 from Marlin/src/core/../MarlinCore.h:24,
                 from Marlin/src/core/utility.cpp:25:
Marlin/src/core/../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/feature/../inc/MarlinConfig.h:51:0,
                 from Marlin/src/feature/ammeter.cpp:23:
Marlin/src/feature/../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/feature/../inc/MarlinConfig.h:51:0,
                 from Marlin/src/feature/../MarlinCore.h:24,
                 from Marlin/src/feature/pause.cpp:34:
Marlin/src/feature/../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/core/serial.cpp.o] Error 1
In file included from Marlin/src/gcode/calibrate/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/gcode/calibrate/G28.cpp:23:
Marlin/src/gcode/calibrate/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/feature/ammeter.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/core/utility.cpp.o] Error 1
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M200-M205.cpp:23:
Marlin/src/gcode/config/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/MarlinCore.cpp.o] Error 1
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M220.cpp:23:
Marlin/src/gcode/config/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
In file included from Marlin/src/gcode/config/../../inc/MarlinConfig.h:51:0,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M221.cpp:23:
Marlin/src/gcode/config/../../inc/../HAL/AVR/inc/SanityCheck.h:42:4: error: #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
   #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
    ^~~~~
*** [.pio/build/mega2560/src/src/feature/pause.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/calibrate/G28.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M220.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M200-M205.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M221.cpp.o] Error 1
========== [FAILED] Took 6.84 seconds ==========

Environment    Status    Duration
-------------  --------  ------------
mega2560       FAILED    00:00:06.836
========== 1 failed, 0 succeeded in 00:00:06.836 ==========
Success

(Impossible config since Z endstops conflict with serial port 1)


Prusa/MK3:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Prusa/MK3/
Building the firmware now...

Auto Build...
Building environment rambo for board EINSY_RAMBO (1203)...

In file included from Marlin/src/gcode/feature/trinamic/../../../inc/MarlinConfigPre.h:37:0,
                 from Marlin/src/gcode/feature/trinamic/../../../inc/MarlinConfig.h:28,
                 from Marlin/src/gcode/feature/trinamic/M122.cpp:23:
Marlin/src/gcode/feature/trinamic/../../../inc/../core/macros.h: In instantiation of 'constexpr decltype ((lhs + rhs)) _MAX(L, R) [with L = int; R = unsigned int; decltype ((lhs + rhs)) = unsigned int]':
Marlin/src/gcode/feature/trinamic/M122.cpp:50:64:   required from here
Marlin/src/gcode/feature/trinamic/../../../inc/../core/macros.h:430:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         return lhs > rhs ? lhs : rhs;
                ~~~~^~~~~
Success

(Not sure if this should be addressed)


Simulator:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/Simulator/
Building the firmware now...

Auto Build...
Detected "#define BOARD_LINUX_RAMPS             9999" | LINUX_RAMPS (999).
Selected simulator_macos_debug
Building environment simulator_macos_debug for board LINUX_RAMPS (999)...

========== [FAILED] Took 1.29 seconds ==========

Environment            Status    Duration
---------------------  --------  ------------
simulator_macos_debug  FAILED    00:00:01.289
========== 1 failed, 0 succeeded in 00:00:01.289 ==========
Success


TPARA/AXEL_TPARA:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/TPARA/AXEL_TPARA/
Building the firmware now...

Auto Build...
Detected "RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)" | RAMPS_14_EFB (1020).
Selected mega2560
Building environment mega2560 for board RAMPS_14_EFB (1020)...

In file included from Marlin/src/module/motion.h:34:0,
                 from Marlin/src/MarlinCore.cpp:44:
Marlin/src/module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/inc/../HAL/HAL.h:30,
                 from Marlin/src/inc/MarlinConfig.h:31,
                 from Marlin/src/MarlinCore.h:24,
                 from Marlin/src/MarlinCore.cpp:31:
Marlin/src/module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
In file included from Marlin/src/core/../module/motion.h:34:0,
                 from Marlin/src/core/../module/probe.h:30,
                 from Marlin/src/core/utility.cpp:52:
Marlin/src/core/../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/core/../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/core/../inc/../HAL/HAL.h:30,
                 from Marlin/src/core/../inc/MarlinConfig.h:31,
                 from Marlin/src/core/../MarlinCore.h:24,
                 from Marlin/src/core/utility.cpp:25:
Marlin/src/core/../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/core/../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/core/../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/core/../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/core/../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/core/../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/core/../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/core/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
In file included from Marlin/src/feature/../module/motion.h:34:0,
                 from Marlin/src/feature/../module/planner.h:46,
                 from Marlin/src/feature/power.cpp:32:
Marlin/src/feature/../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/feature/../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/feature/../module/../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/feature/../module/../inc/../HAL/HAL.h:30,
                 from Marlin/src/feature/../module/../inc/MarlinConfig.h:31,
                 from Marlin/src/feature/../module/../MarlinCore.h:24,
                 from Marlin/src/feature/../module/planner.h:33,
                 from Marlin/src/feature/power.cpp:32:
Marlin/src/feature/../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/feature/../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/feature/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/feature/../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/feature/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/feature/../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/feature/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
In file included from Marlin/src/gcode/calibrate/../../module/motion.h:34:0,
                 from Marlin/src/gcode/calibrate/../../module/planner.h:46,
                 from Marlin/src/gcode/calibrate/../../module/stepper.h:46,
                 from Marlin/src/gcode/calibrate/G28.cpp:27:
Marlin/src/gcode/calibrate/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/feature/../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/feature/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/feature/../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/feature/../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/feature/../module/../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
*** [.pio/build/mega2560/src/src/core/utility.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/MarlinCore.cpp.o] Error 1
In file included from Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/calibrate/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/calibrate/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/calibrate/G28.cpp:23:
Marlin/src/gcode/calibrate/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/calibrate/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/feature/power.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/calibrate/G28.cpp.o] Error 1
In file included from Marlin/src/gcode/calibrate/../../module/motion.h:34:0,
                 from Marlin/src/gcode/calibrate/M665.cpp:28:
Marlin/src/gcode/calibrate/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/calibrate/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/calibrate/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/calibrate/M665.cpp:23:
Marlin/src/gcode/calibrate/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/calibrate/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/calibrate/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/calibrate/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/calibrate/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/calibrate/M665.cpp.o] Error 1
In file included from Marlin/src/gcode/config/../../module/motion.h:34:0,
                 from Marlin/src/gcode/config/../../module/planner.h:46,
                 from Marlin/src/gcode/config/M200-M205.cpp:25:
Marlin/src/gcode/config/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
In file included from Marlin/src/gcode/config/../../module/motion.h:34:0,
                 from Marlin/src/gcode/config/../../module/planner.h:46,
                 from Marlin/src/gcode/config/M221.cpp:24:
Marlin/src/gcode/config/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/config/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
Marlin/src/gcode/config/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/config/../../module/motion.h:34:0,
                 from Marlin/src/gcode/config/M220.cpp:24:
Marlin/src/gcode/config/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
In file included from Marlin/src/gcode/config/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/config/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/config/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M200-M205.cpp:23:
Marlin/src/gcode/config/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/config/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
In file included from Marlin/src/gcode/config/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/config/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/config/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M221.cpp:23:
Marlin/src/gcode/config/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/config/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
Marlin/src/gcode/config/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
In file included from Marlin/src/gcode/config/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/config/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/config/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M220.cpp:23:
Marlin/src/gcode/config/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/config/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/config/M221.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M220.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/config/M200-M205.cpp.o] Error 1
In file included from Marlin/src/gcode/config/../../module/motion.h:34:0,
                 from Marlin/src/gcode/config/../../module/planner.h:46,
                 from Marlin/src/gcode/config/M92.cpp:24:
Marlin/src/gcode/config/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/config/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/config/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/config/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/config/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/config/../gcode.h:330,
                 from Marlin/src/gcode/config/M92.cpp:23:
Marlin/src/gcode/config/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/config/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/config/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/config/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/config/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/config/M92.cpp.o] Error 1
In file included from Marlin/src/gcode/control/../../module/motion.h:34:0,
                 from Marlin/src/gcode/control/M108_M112_M410.cpp:29:
Marlin/src/gcode/control/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/control/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/control/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/control/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/control/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/control/M108_M112_M410.cpp:23:
Marlin/src/gcode/control/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/control/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/control/M108_M112_M410.cpp.o] Error 1
In file included from Marlin/src/gcode/control/../../module/motion.h:34:0,
                 from Marlin/src/gcode/control/M211.cpp:28:
Marlin/src/gcode/control/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/control/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/control/../../lcd/../module/motion.h:34:0,
                 from Marlin/src/gcode/control/../../lcd/marlinui.h:26,
                 from Marlin/src/gcode/control/M17_M18_M84.cpp:25:
Marlin/src/gcode/control/../../lcd/../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/control/../../lcd/../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/control/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/control/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/control/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/control/../gcode.h:330,
                 from Marlin/src/gcode/control/M211.cpp:27:
Marlin/src/gcode/control/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/control/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
In file included from Marlin/src/gcode/control/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/control/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/control/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/control/../gcode.h:330,
                 from Marlin/src/gcode/control/M17_M18_M84.cpp:23:
Marlin/src/gcode/control/../../lcd/../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../lcd/../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../lcd/../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/control/M211.cpp.o] Error 1
In file included from Marlin/src/gcode/control/../../module/motion.h:34:0,
                 from Marlin/src/gcode/control/../../module/planner.h:46,
                 from Marlin/src/gcode/control/../../module/stepper.h:46,
                 from Marlin/src/gcode/control/M400.cpp:24:
Marlin/src/gcode/control/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/control/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/control/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/control/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/control/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/control/../gcode.h:330,
                 from Marlin/src/gcode/control/M400.cpp:23:
Marlin/src/gcode/control/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/control/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/control/M17_M18_M84.cpp.o] Error 1
*** [.pio/build/mega2560/src/src/gcode/control/M400.cpp.o] Error 1
In file included from Marlin/src/gcode/control/../../module/motion.h:34:0,
                 from Marlin/src/gcode/control/../../module/planner.h:46,
                 from Marlin/src/gcode/control/M80_M81.cpp:26:
Marlin/src/gcode/control/../../module/scara.h:34:24: error: 'TPARA_LINKAGE_1' was not declared in this scope
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
Marlin/src/gcode/control/../../module/scara.h:34:24: note: suggested alternative: 'ROBOT_LINKAGE_1'
   float constexpr L1 = TPARA_LINKAGE_1, L2 = TPARA_LINKAGE_2,   // Float constants for Robot arm calculations
                        ^~~~~~~~~~~~~~~
                        ROBOT_LINKAGE_1
In file included from Marlin/src/gcode/control/../../inc/../HAL/./AVR/HAL.h:26:0,
                 from Marlin/src/gcode/control/../../inc/../HAL/HAL.h:30,
                 from Marlin/src/gcode/control/../../inc/MarlinConfig.h:31,
                 from Marlin/src/gcode/control/../gcode.h:330,
                 from Marlin/src/gcode/control/M80_M81.cpp:23:
Marlin/src/gcode/control/../../module/motion.h: In function 'bool position_is_reachable(const_float_t, const_float_t, float)':
Marlin/src/gcode/control/../../module/motion.h:564:36: error: 'TPARA_OFFSET_X' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:36: note: suggested alternative: 'ROBOT_OFFSET_X'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                    ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: error: 'TPARA_OFFSET_Y' was not declared in this scope
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:564:57: note: suggested alternative: 'ROBOT_OFFSET_Y'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                                                         ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:564:24: note: in expansion of macro 'HYPOT2'
       const float R2 = HYPOT2(rx - TPARA_OFFSET_X, ry - TPARA_OFFSET_Y);
                        ^~~~~~
Marlin/src/gcode/control/../../module/motion.h:566:23: error: 'L2' was not declared in this scope
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
Marlin/src/gcode/control/../../module/motion.h:566:23: note: suggested alternative: 'R2'
         R2 <= sq(L1 + L2) - inset
                       ^
Marlin/src/gcode/control/../../inc/../HAL/./AVR/../shared/Marduino.h:51:17: note: in definition of macro 'sq'
 #define sq(x) ((x)*(x))
                 ^
*** [.pio/build/mega2560/src/src/gcode/control/M80_M81.cpp.o] Error 1
========== [FAILED] Took 7.38 seconds ==========

Environment    Status    Duration
-------------  --------  ------------
mega2560       FAILED    00:00:07.376
========== 1 failed, 0 succeeded in 00:00:07.376 ==========
Success


delta/FLSUN/Q5-nano_v2:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/delta/FLSUN/Q5-nano_v2/
Building the firmware now...

Auto Build...
Detected "MKS Robin Nano V2 (STM32F103VE)" | MKS_ROBIN_NANO_V2 (4014).
Selected mks_robin_nano35
Building environment mks_robin_nano35 for board MKS_ROBIN_NANO_V2 (4014)...

.pio/libdeps/mks_robin_nano35/lvgl/src/lv_core/lv_obj.c: In function 'lv_deinit':
.pio/libdeps/mks_robin_nano35/lvgl/src/lv_core/lv_obj.c:130:5: warning: implicit declaration of function 'lv_log_register_print_cb' [-Wimplicit-function-declaration]
  130 |     lv_log_register_print_cb(NULL);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
Success

(Not sure if this should be addressed)


delta/Malyan M300:

Error/Warning details:

Getting configuration files from ./.pio/build-pr/fix_broken_configs/config/examples/delta/Malyan M300/
Building the firmware now...

Auto Build...
Building environment malyan_M300 for board MALYAN_M300 (4001)...

In file included from /Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/stm32/startup_stm32yyxx.S:1:
/Users/keith/.platformio/packages/framework-arduinoststm32/cores/arduino/stm32/stm32_def_build.h:381:4: warning: #warning "No CMSIS startup file defined, custom one should be used" [-Wcpp]
  381 |   #warning "No CMSIS startup file defined, custom one should be used"
      |    ^~~~~~~
In file included from Marlin/src/gcode/bedlevel/M420.cpp:30:
Marlin/src/gcode/bedlevel/../../module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin/src/gcode/bedlevel/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/../../module/probe.h:263:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |           ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/../../module/probe.h:263:33: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                 ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_3_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/../../module/probe.h:263:55: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                                       ^~~~~~~~~~~~~~~~~
*** [.pio/build/malyan_M300/src/src/gcode/bedlevel/M420.cpp.o] Error 1
In file included from Marlin/src/gcode/bedlevel/abl/G29.cpp:36:
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:263:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |           ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:263:33: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                 ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_3_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../module/probe.h:263:55: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                                       ^~~~~~~~~~~~~~~~~
In file included from Marlin/src/gcode/bedlevel/abl/../../../inc/MarlinConfigPre.h:37,
                 from Marlin/src/gcode/bedlevel/abl/../../../inc/MarlinConfig.h:28,
                 from Marlin/src/gcode/bedlevel/abl/G29.cpp:27:
Marlin/src/gcode/bedlevel/abl/G29.cpp: In static member function 'static void GcodeSuite::G29()':
Marlin/src/gcode/bedlevel/abl/G29.cpp:83:33: error: 'onLevelingDone' is not a member of 'ExtUI'; did you mean 'onHomingDone'?
   83 |     TERN_(EXTENSIBLE_UI, ExtUI::onLevelingDone()); \
      |                                 ^~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:621:26: note: in definition of macro 'THIRD'
  621 | #define THIRD(a,b,c,...) c
      |                          ^
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:247:29: note: in expansion of macro '___TERN'
  247 | #define __TERN(T,V...)      ___TERN(_CAT(_NO,T),V)  // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
      |                             ^~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:246:29: note: in expansion of macro '__TERN'
  246 | #define _TERN(E,V...)       __TERN(_CAT(T_,E),V)    // Prepend 'T_' to get 'T_0' or 'T_1'
      |                             ^~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:245:29: note: in expansion of macro '_TERN'
  245 | #define TERN_(O,A)          _TERN(_ENA_1(O),,A)     // OPTION ? 'A' : '<nul>'
      |                             ^~~~~
Marlin/src/gcode/bedlevel/abl/G29.cpp:83:5: note: in expansion of macro 'TERN_'
   83 |     TERN_(EXTENSIBLE_UI, ExtUI::onLevelingDone()); \
      |     ^~~~~
Marlin/src/gcode/bedlevel/abl/G29.cpp:252:5: note: in expansion of macro 'G29_RETURN'
  252 |     G29_RETURN(false, false);
      |     ^~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/G29.cpp:83:33: error: 'onLevelingDone' is not a member of 'ExtUI'; did you mean 'onHomingDone'?
   83 |     TERN_(EXTENSIBLE_UI, ExtUI::onLevelingDone()); \
      |                                 ^~~~~~~~~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:621:26: note: in definition of macro 'THIRD'
  621 | #define THIRD(a,b,c,...) c
      |                          ^
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:247:29: note: in expansion of macro '___TERN'
  247 | #define __TERN(T,V...)      ___TERN(_CAT(_NO,T),V)  // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
      |                             ^~~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:246:29: note: in expansion of macro '__TERN'
  246 | #define _TERN(E,V...)       __TERN(_CAT(T_,E),V)    // Prepend 'T_' to get 'T_0' or 'T_1'
      |                             ^~~~~~
Marlin/src/gcode/bedlevel/abl/../../../inc/../core/macros.h:245:29: note: in expansion of macro '_TERN'
  245 | #define TERN_(O,A)          _TERN(_ENA_1(O),,A)     // OPTION ? 'A' : '<nul>'
      |                             ^~~~~
Marlin/src/gcode/bedlevel/abl/G29.cpp:83:5: note: in expansion of macro 'TERN_'
   83 |     TERN_(EXTENSIBLE_UI, ExtUI::onLevelingDone()); \
      |     ^~~~~
Marlin/src/gcode/bedlevel/abl/G29.cpp:260:30: note: in expansion of macro 'G29_RETURN'
  260 |   if (homing_needed_error()) G29_RETURN(false, false);
      |                              ^~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pio/build/malyan_M300/src/src/gcode/bedlevel/abl/G29.cpp.o] Error 1
In file included from Marlin/src/gcode/calibrate/G28.cpp:42:
Marlin/src/gcode/calibrate/../../module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin/src/gcode/calibrate/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/probe.h:263:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |           ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/probe.h:263:33: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                 ^~~~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/probe.h:261:82: error: static assertion failed: PROBE_PT_3_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
  261 |           #define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/gcode/calibrate/../../module/probe.h:263:55: note: in expansion of macro 'VALIDATE_PROBE_PT'
  263 |           VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
      |                                                       ^~~~~~~~~~~~~~~~~
*** [.pio/build/malyan_M300/src/src/gcode/calibrate/G28.cpp.o] Error 1
========== [FAILED] Took 19.39 seconds ==========

Environment    Status    Duration
-------------  --------  ------------
malyan_M300    FAILED    00:00:19.392
========== 1 failed, 0 succeeded in 00:00:19.392 ==========

(I don't know what values should be used for margins/probe points)

@thinkyhead thinkyhead merged commit 1881008 into MarlinFirmware:import-2.0.x May 19, 2022
@thisiskeithb thisiskeithb deleted the pr/fix_broken_configs branch May 19, 2022 20:31
@ellensp
Copy link
Contributor

ellensp commented May 29, 2022

Issue with Ender 6 Configuration.h

//#define ENABLE_BLTOUCH_PROBE became //#define E6_BLTOUCH_PROBE

but in tests later on eg.

ifndef ENABLE_BLTOUCH_PROBE became #ifndef E6_USE_BLTOUCH

So enabling E6_BLTOUCH_PROBE does not do anything

Since the readme also says E6_USE_BLTOUCH The E6_BLTOUCH_PROBE seems to be in error

@thisiskeithb
Copy link
Member Author

Since the readme also says E6_USE_BLTOUCH The E6_BLTOUCH_PROBE seems to be in error

See #743

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants