We have opened up a new section in the MarlinFirmware repository for documentation. The very first thread in this new area was chosen to be on this topic. [github.com]
(So in other words... I feel your pain!)
The rules ThinkyHead gave me helped. He said if the electronics has a function defined on the board, it should be in the Pins.h file associated with the board. (I had deleted the Z_MIN_PIN because I have a Delta and did not want it homing towards minimum.) The other things he told me to do was:
#define Z_MIN_PROBE_ENDSTOP
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
That got me working!
(So in other words... I feel your pain!)
The rules ThinkyHead gave me helped. He said if the electronics has a function defined on the board, it should be in the Pins.h file associated with the board. (I had deleted the Z_MIN_PIN because I have a Delta and did not want it homing towards minimum.) The other things he told me to do was:
#define Z_MIN_PROBE_ENDSTOP
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
That got me working!