Closed gepigom2883 closed 3 years ago
It is in Configuration_adv,.h
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.
DONE! Thanks!
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.
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
I can't compile Marlin with the last version because it shows #error "Babystep_zprobe_offset requires a probe"
In file included from Marlin\src\HAL\STM32../../inc/MarlinConfig.h:49, from Marlin\src\HAL\STM32\HAL.cpp:28: Marlin\src\HAL\STM32../../inc/SanityCheck.h:808:6: error: #error "BABYSTEP_ZPROBE_OFFSET requires a probe." 808 | #error "BABYSTEP_ZPROBE_OFFSET requires a probe." | ^~~~~ [.pio\build\ET4\src\src\HAL\STM32\HAL_SPI.cpp.o] Error 1 [.pio\build\ET4\src\src\HAL\STM32\HAL.cpp.o] Error 1 from Marlin\src\HAL\STM32\MarlinSerial.cpp:21: Marlin\src\HAL\STM32../../inc/SanityCheck.h:808:6: error: #error "BABYSTEP_ZPROBE_OFFSET requires a probe." 808 | #error "BABYSTEP_ZPROBE_OFFSET requires a probe." | ^~~~~ *** [.pio\build\ET4\src\src\HAL\STM32\MarlinSerial.cpp.o] Error 1
And I don't see any Babystep_zprobe_offset inside configuration.h:
"//=========================================================================== //============================= Z Probe Options ============================= //=========================================================================== // @section probes
// // See https://marlinfw.org/docs/configuration/probes.html //
/**
// Force the use of the probe for Z-axis homing //#define USE_PROBE_FOR_Z_HOMING
/**
/**
/**
/**
/**
define NOZZLE_AS_PROBE
/**
/**
/**
if ENABLED(TOUCH_MI_PROBE)
define TOUCH_MI_RETRACT_Z 0.5 // Height at which the probe retracts
//#define TOUCH_MI_DEPLOY_XPOS (X_MAX_BED + 2) // For a magnet on the right side of the bed //#define TOUCH_MI_MANUAL_DEPLOY // For manual deploy (LCD menu)
endif
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) //#define SOLENOID_PROBE
// A sled-mounted probe like those designed by Charles Bell. //#define Z_PROBE_SLED //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
// A probe deployed by moving the x-axis, such as the Wilson II's rack-and-pinion probe designed by Marty Rice. //#define RACK_AND_PINION_PROBE
if ENABLED(RACK_AND_PINION_PROBE)
define Z_PROBE_DEPLOY_X X_MIN_POS
define Z_PROBE_RETRACT_X X_MAX_POS
endif
// Duet Smart Effector (for delta printers) - https://bit.ly/2ul5U7J // When the pin is defined you can use M672 to set/reset the probe sensivity. //#define DUET_SMART_EFFECTOR
if ENABLED(DUET_SMART_EFFECTOR)
define SMART_EFFECTOR_MOD_PIN -1 // Connect a GPIO pin to the Smart Effector MOD pin
endif
/**
// // For Z_PROBE_ALLEN_KEY see the Delta example configurations. //
/**
define NOZZLE_TO_PROBE_OFFSET { 10, 10, -1 } // Example "1"
define NOZZLE_TO_PROBE_OFFSET {-10, 5, -1 } // Example "2"
define NOZZLE_TO_PROBE_OFFSET { 5, -5, -1 } // Example "3"
define NOZZLE_TO_PROBE_OFFSET {-15,-10, -1 } // Example "4"
define NOZZLE_TO_PROBE_OFFSET { 0, 0, 0 }
// Most probes should stay away from the edges of the bed, but // with NOZZLE_AS_PROBE this can be negative for a wider probing area.
define PROBING_MARGIN 25
// X and Y axis travel speed (mm/min) between probes
define XY_PROBE_FEEDRATE (133*60)
// Feedrate (mm/min) for the first approach when double-probing (MULTIPLE_PROBING == 2)
define Z_PROBE_FEEDRATE_FAST (8*60)
// Feedrate (mm/min) for the "accurate" probe of each point
define Z_PROBE_FEEDRATE_SLOW (Z_PROBE_FEEDRATE_FAST / 2)
/**
if ENABLED(PROBE_ACTIVATION_SWITCH)
define PROBE_ACTIVATION_SWITCH_STATE LOW // State indicating probe is active
//#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Override default pin
endif
/**
if ENABLED(PROBE_TARE)
define PROBE_TARE_TIME 200 // (ms) Time to hold tare pin
define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
define PROBE_TARE_STATE HIGH // State to write pin for tare
//#define PROBE_TARE_PIN PA5 // Override default pin
if ENABLED(PROBE_ACTIVATION_SWITCH)
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
endif
endif
/**
define MULTIPLE_PROBING 2
//#define EXTRA_PROBING 1
/**
M851 Z-5
with a CLEARANCE of 4 => 9mm from bed to nozzle.M851 Z+1
with a CLEARANCE of 2 => 2mm from bed to nozzle. */define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
//#define Z_AFTER_PROBING 5 // Z position after probing is done
define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping
// For M851 give a range for adjusting the Z probe offset
define Z_PROBE_OFFSET_RANGE_MIN -20
define Z_PROBE_OFFSET_RANGE_MAX 20
// Enable the M48 repeatability test to test probe accuracy //#define Z_MIN_PROBE_REPEATABILITY_TEST
// Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW
if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)
//#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe
endif
/**
if ENABLED(PROBING_HEATERS_OFF)
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy) //#define WAIT_FOR_HOTEND // Wait for hotend to heat back up between probes (to improve accuracy & prevent cold extrude)
endif
//#define PROBING_FANS_OFF // Turn fans off when probing //#define PROBING_STEPPERS_OFF // Turn steppers off (unless needed to hold position) when probing //#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
// Require minimum nozzle and/or bed temperature for probing //#define PREHEAT_BEFORE_PROBING
if ENABLED(PREHEAT_BEFORE_PROBING)
define PROBING_NOZZLE_TEMP 120 // (°C) Only applies to E0 at this time
define PROBING_BED_TEMP 50
endif
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' }
define X_ENABLE_ON 0
define Y_ENABLE_ON 0
define Z_ENABLE_ON 0
define E_ENABLE_ON 0 // For all extruders
// Disable axis steppers immediately when they're not being stepped. // WARNING: When motors turn off there is a chance of losing position accuracy!
define DISABLE_X false
define DISABLE_Y false
define DISABLE_Z false
// Turn off the display blinking that warns about possible accuracy reduction //#define DISABLE_REDUCED_ACCURACY_WARNING
// @section extruder
define DISABLE_E false // Disable the extruder when not stepping
define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
// @section machine
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
define INVERT_X_DIR true
define INVERT_Y_DIR false
define INVERT_Z_DIR true
// @section extruder
// For direct drive extruder v9 set to true, for geared extruder set to false.
define INVERT_E0_DIR false
define INVERT_E1_DIR false
define INVERT_E2_DIR false
define INVERT_E3_DIR false
define INVERT_E4_DIR false
define INVERT_E5_DIR false
define INVERT_E6_DIR false
define INVERT_E7_DIR false
// @section homing
//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed. Also enable HOME_AFTER_DEACTIVATE for extra safety. //#define HOME_AFTER_DEACTIVATE // Require rehoming after steppers are deactivated. Also enable NO_MOTION_BEFORE_HOMING for extra safety.
/**
//#define Z_HOMING_HEIGHT 4 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ... // Be sure to have this much clearance over your Z_MAX_POS to prevent grinding.
//#define Z_AFTER_HOMING 10 // (mm) Height to move to after homing Z
// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]
define X_HOME_DIR -1
define Y_HOME_DIR -1
define Z_HOME_DIR 1
// @section machine
// The size of the printable area
define X_BED_SIZE 220
define Y_BED_SIZE 220
// Travel limits (mm) after homing, corresponding to endstop positions.
define X_MIN_POS -1
define Y_MIN_POS -11
define Z_MIN_POS 0
define X_MAX_POS (X_BED_SIZE + 50)
define Y_MAX_POS Y_BED_SIZE
define Z_MAX_POS 250
/**
// Min software endstops constrain movement within minimum coordinate bounds
define MIN_SOFTWARE_ENDSTOPS
if ENABLED(MIN_SOFTWARE_ENDSTOPS)
define MIN_SOFTWARE_ENDSTOP_X
define MIN_SOFTWARE_ENDSTOP_Y
define MIN_SOFTWARE_ENDSTOP_Z
endif
// Max software endstops constrain movement within maximum coordinate bounds
define MAX_SOFTWARE_ENDSTOPS
if ENABLED(MAX_SOFTWARE_ENDSTOPS)
define MAX_SOFTWARE_ENDSTOP_X
define MAX_SOFTWARE_ENDSTOP_Y
define MAX_SOFTWARE_ENDSTOP_Z
endif
if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD
endif
/**
For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc. */
define FILAMENT_RUNOUT_SENSOR
if ENABLED(FILAMENT_RUNOUT_SENSOR)
define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. //#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder. // This is automatically enabled for MIXING_EXTRUDERs.
// Override individually if the runout sensors vary //#define FIL_RUNOUT1_STATE LOW //#define FIL_RUNOUT1_PULLUP //#define FIL_RUNOUT1_PULLDOWN
//#define FIL_RUNOUT2_STATE LOW //#define FIL_RUNOUT2_PULLUP //#define FIL_RUNOUT2_PULLDOWN
//#define FIL_RUNOUT3_STATE LOW //#define FIL_RUNOUT3_PULLUP //#define FIL_RUNOUT3_PULLDOWN
//#define FIL_RUNOUT4_STATE LOW //#define FIL_RUNOUT4_PULLUP //#define FIL_RUNOUT4_PULLDOWN
//#define FIL_RUNOUT5_STATE LOW //#define FIL_RUNOUT5_PULLUP //#define FIL_RUNOUT5_PULLDOWN
//#define FIL_RUNOUT6_STATE LOW //#define FIL_RUNOUT6_PULLUP //#define FIL_RUNOUT6_PULLDOWN
//#define FIL_RUNOUT7_STATE LOW //#define FIL_RUNOUT7_PULLUP //#define FIL_RUNOUT7_PULLDOWN
//#define FIL_RUNOUT8_STATE LOW //#define FIL_RUNOUT8_PULLUP //#define FIL_RUNOUT8_PULLDOWN
// Commands to execute on filament runout. // With multiple runout sensors use the %c placeholder for the current tool in commands (e.g., "M600 T%c") // NOTE: After 'M412 H1' the host handles filament runout and this script does not apply.
define FILAMENT_RUNOUT_SCRIPT "M600"
// After a runout is detected, continue printing this length of filament // before executing the runout script. Useful for a sensor at the end of // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead. //#define FILAMENT_RUNOUT_DISTANCE_MM 25
ifdef FILAMENT_RUNOUT_DISTANCE_MM
// Enable this option to use an encoder disc that toggles the runout pin // as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM // large enough to avoid false positives.) //#define FILAMENT_MOTION_SENSOR
endif
endif
"
I haven't on my Anet ET4X any BL Touch and I can't finish to compile it. Please I need help because I'm new.
I tried to search by myself how to fix it but nothing.
Bug Timeline
No response
Expected behavior
No response
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
Marlin bugfix 2.0
Printer model
Anet ET4x
Electronics
Anet Silence motherboard
Add-ons
No response
Your Slicer
Cura
Host Software
No response
Additional information & file uploads
No response