MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.25k stars 19.23k forks source link

Undefind axes giving errors, "No E port for " asking for min and max POS after commenting out the ports. #26475

Closed DangMidNight closed 11 months ago

DangMidNight commented 11 months ago

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

Yes, and the problem still exists.

Bug Description

I got an error stating(see first code block). To fix this in pins_postprocess.h file I commented out the U/V statements and it will start to compile but fail asking for I,K,U, and V min/max POS along with "Axis5_Rotates requires Axis4_rotates" (see 2en code block) However I do not have any of these axes definded. (See 3rd code part.) I do not think just commenting everything out is the way to go, either I have overlooked something or something is wrong. CONFIG.zip

error:

```prolog Processing STM32F446ZE_btt (board: marlin_BigTree_Octopus_v1; platform: ststm32@~12.1; framework: arduino) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins.h:1047, from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:36, from buildroot/share/PlatformIO/scripts/common-dependencies.h:29: buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins_postprocess.h:1405:8: error: #error "No E stepper plug left for U!" 1405 | #error "No E stepper plug left for U!" | ^~~~~ buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins_postprocess.h:1490:8: error: #error "No E stepper plug left for V!" 1490 | #error "No E stepper plug left for V!" | ^~~~~ Error: Failed to parse Marlin features. See previous error messages. ```

error:

```prolog Processing STM32F446ZE_btt (board: marlin_BigTree_Octopus_v1; platform: ststm32@~12.1; framework: arduino) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option Copying variant MARLIN_BIGTREE_OCTOPUS_V1 to framework directory... CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_BigTree_Octopus_v1.html PLATFORM: ST STM32 (12.1.1) > STM32F446ZE (128k RAM. 512k Flash) HARDWARE: STM32F446ZET6 180MHz, 128KB RAM, 512KB Flash DEBUG: Current (stlink) External (blackmagic, jlink, stlink) PACKAGES: - framework-arduinoststm32 @ 4.10900.200819 (1.9.0) - framework-cmsis @ 2.50501.200527 (5.5.1) - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) Converting Marlin.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 11 compatible libraries Scanning dependencies... Dependency Graph |-- U8glib-HAL @ 0.5.2 |-- IWatchdog @ 1.0.0 |-- SPI @ 1.0 |-- EEPROM @ 2.0.1 |-- SoftwareSerial @ 1.0 |-- Wire @ 1.0 |-- Servo @ 1.1.2 Building in release mode Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\HAL.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\HAL_SPI.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\MarlinSerial.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\Servo.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_bl24cxx.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_flash.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_if_iic.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_sdcard.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_sram.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_wired.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\fast_pwm.cpp.o Compiling .pio\build\STM32F446ZE_btt\src\src\HAL\STM32\fastio.cpp.o In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\HAL.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\HAL.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\HAL_SPI.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\HAL_SPI.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\MarlinSerial.cpp:27: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\Servo.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\MarlinSerial.cpp.o] Error 1 *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\Servo.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_bl24cxx.cpp:32: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_bl24cxx.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_flash.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_flash.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_if_iic.cpp:32: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_sdcard.cpp:31: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_if_iic.cpp.o] Error 1 *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_sdcard.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_sram.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\fast_pwm.cpp:27: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_sram.cpp.o] Error 1 *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\fast_pwm.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\eeprom_wired.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\eeprom_wired.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:52, from Marlin\src\HAL\STM32\fastio.cpp:26: Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1098:6: error: #error "I_MIN_POS and I_MAX_POS are required for the I axis." 1098 | #error "I_MIN_POS and I_MAX_POS are required for the I axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1111:6: error: #error "AXIS5_ROTATES requires AXIS4_ROTATES." 1111 | #error "AXIS5_ROTATES requires AXIS4_ROTATES." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1128:6: error: #error "K_MIN_POS and K_MAX_POS are required for the K axis." 1128 | #error "K_MIN_POS and K_MAX_POS are required for the K axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1143:6: error: #error "U_MIN_POS and U_MAX_POS are required for the U axis." 1143 | #error "U_MIN_POS and U_MAX_POS are required for the U axis." | ^~~~~ Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1158:6: error: #error "V_MIN_POS and V_MAX_POS are required for the V axis." 1158 | #error "V_MIN_POS and V_MAX_POS are required for the V axis." | ^~~~~ compilation terminated due to -fmax-errors=5. *** [.pio\build\STM32F446ZE_btt\src\src\HAL\STM32\fastio.cpp.o] Error 1 ======================================================================== [FAILED] Took 10.81 seconds ======================================================================== Environment Status Duration --------------- -------- ------------ STM32F446ZE_btt FAILED 00:00:10.813 =================================================================== 1 failed, 0 succeeded in 00:00:10.813 =================================================================== ```

#define X_DRIVER_TYPE  A4988
#define Y_DRIVER_TYPE  A4988
#define Z_DRIVER_TYPE  A4988
//#define X2_DRIVER_TYPE A4988
//#define Y2_DRIVER_TYPE A4988
//#define Z2_DRIVER_TYPE A4988
//#define Z3_DRIVER_TYPE A4988
//#define Z4_DRIVER_TYPE A4988
//#define I_DRIVER_TYPE  A4988
#define J_DRIVER_TYPE  A4988
//#define K_DRIVER_TYPE  A4988
//#define U_DRIVER_TYPE  A4988
//#define V_DRIVER_TYPE  A4988
#define W_DRIVER_TYPE  A4988
#define E0_DRIVER_TYPE A4988
//#define E1_DRIVER_TYPE A4988
//#define E2_DRIVER_TYPE A4988
//#define E3_DRIVER_TYPE A4988
//#define E4_DRIVER_TYPE A4988
//#define E5_DRIVER_TYPE A4988
//#define E6_DRIVER_TYPE A4988
//#define E7_DRIVER_TYPE A4988

Bug Timeline

Today

Expected behavior

To compile since the axes in question are not defined.

Actual behavior

Errors.

Steps to Reproduce

Not sure.

Version of Marlin Firmware

Marlin-bugfix-2.1.x

Printer model

N/A

Electronics

BTT octopus v1.1

LCD/Controller

N/A

Other add-ons

Endstops

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

Additional information & file uploads

I did add the J and W axes to the pins by hand when the error first came up to see if it would fix it.

ellensp commented 11 months ago

You cannot randomly pick axis like that. Marlin expect you to use the axies sequentially.

Ie you need to use I and J not J and W eg

define I_DRIVER_TYPE A4988

define J_DRIVER_TYPE A4988

If you want it to be called B and W, you set the AXIS5_NAME

All axies needs endstop at present even rotational axis, if your not using them set them to an un allocated io pin There is a feature request to not need them.

In the Configuration.h you have lines like

define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400[, 200 [, 200 ]], 93 }

This is incorrect, you do not add the [ or ] characters. These are in the description to indicate they are optional only.

Provided Configuration_adv.h seem to be the default, which is not suitable for additional axies

Fixed Configuration.zip

This builds without issues

ellensp commented 11 months ago

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

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

github-actions[bot] commented 9 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.