This is my first time asking for some help on here and I have Googled, but only found a few reference to this issue. I know I am doing something dumb but I have no clue what it is.
I get an unknown motherboard error every time I try to setup my MKS GEN L. At first I found that in the boards.h
file there was no reference to this board and the pins.h
file was not there either. I have added both of these in and still nothing. I have checked the configuration.h
and as far as I can tell I cannot find the error.
I have tried this in 1.1.9 and 2.x of marlin and get the same error.
The message is:
Arduino: 1.8.9 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)" In file included from sketch\MarlinConfig.h:33:0, from C:\Users\name\OneDrive\Desktop\Ender 5 1.1.61 version (1)\Ender 5 1.1.61 version\Marlin\Marlin.ino:31: pins.h:235:4: error: #error "Unknown MOTHERBOARD value set in Configuration.h" #error "Unknown MOTHERBOARD value set in Configuration.h" ^~~~~ In file included from sketch\MarlinConfig.h:39:0, from C:\Users\jcgra\OneDrive\Desktop\Ender 5 1.1.61 version (1)\Ender 5 1.1.61 version\Marlin\Marlin.ino:31: SanityCheck.h:311:6: error: #error "BABYSTEP_ZPROBE_OFFSET requires a probe." #error "BABYSTEP_ZPROBE_OFFSET requires a probe." ^~~~~ SanityCheck.h:624:8: error: #error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires the Z_MIN_PIN to be defined." #error "Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN requires the Z_MIN_PIN to be defined." ^~~~~ SanityCheck.h:909:4: error: #error "HEATER_0_PIN not defined for this board." #error "HEATER_0_PIN not defined for this board." ^~~~~ exit status 1 #error "Unknown MOTHERBOARD value set in Configuration.h" This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
My config file is as follows Config.h.
Please let me know if there is anything else you might need to help with this matter and thank you for your time and attention.