Skip to content

Enable Z-Probe for Lerdge K board#28461

Open
franz-ap wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
franz-ap:lerdge-k_enable_z-probe
Open

Enable Z-Probe for Lerdge K board#28461
franz-ap wants to merge 1 commit into
MarlinFirmware:bugfix-2.1.xfrom
franz-ap:lerdge-k_enable_z-probe

Conversation

@franz-ap

Copy link
Copy Markdown

Description

A tiny change, that enables the Z-Probe pin of Lerdge K boards.

Problem:

"#define Z_MIN_PROBE_PIN" was commented out in Marlin/src/pins/stm32f4/pins_LERDGE_K.h, causing error "Z_MIN_PROBE_PIN must be defined if Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN is not enabled." in SanityCheck.h

In the history of file pins_LERDGE_K.h I saw, that it was like that since the beginning, only the pin name was corrected after a while. So, probably it was not commented out because of a problem. It seems, that I am simply the first one, who wants to use this feature on a Lerdge K board.

Tests:

I did not provide a test case in buildroot/tests because that would require real hardware.
So, I ran the tests on my Lerdge K board: attached wires to the "Probe" connector and sent command M119 via USB serial.
Successfully tested with branches Marlin bugfix-2.1.x and Marlin 2.1.2.7.

Requirements

Hardware:

  • Lerdge K board
  • Z-Probe (or simply a DuPont wire for testing)

Benefits

Marlin Firmware can be built for a Lerdge K board with Z-Probe enabled.

Configurations

config_for_2.1.2.7.zip
config_for_bugfix-2.1.x.zip

Build command:

platformio run -e LERDGEK_usb_flash_drive

Related Issues

None found.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant