Marlin compilation error on sensitive_pins December 21, 2015 06:45AM |
Registered: 9 years ago Posts: 35 |
Quote
Arduino: 1.6.5 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Marlin_main.cpp:269: error: 'SENSITIVE_PINS' was not declared in this scope
const int sensitive_pins[] = SENSITIVE_PINS; ///< Sensitive pin list for M42
^
'SENSITIVE_PINS' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Re: Marlin compilation error on sensitive_pins December 21, 2015 07:08AM |
Registered: 9 years ago Posts: 35 |
Quote
//List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
#define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, HEATER_0_PIN,
#if EXTRUDERS > 1
#define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, HEATER_1_PIN,
#else
#define _E1_PINS
#endif
#if EXTRUDERS > 2
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN,
#else
#define _E2_PINS
#endif
#ifdef DISABLE_MAX_ENDSTOPS
#define X_MAX_PIN -1
#define Y_MAX_PIN -1
#define Z_MAX_PIN -1
#endif
#define SENSITIVE_PINS {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, LED_PIN, PS_ON_PIN, \
HEATER_BED_PIN, FAN_PIN, \
_E0_PINS _E1_PINS _E2_PINS \
TEMP_0_PIN, TEMP_1_PIN, TEMP_2_PIN, TEMP_BED_PIN }
Re: Marlin compilation error on sensitive_pins December 21, 2015 08:28AM |
Registered: 8 years ago Posts: 552 |
Re: Marlin compilation error on sensitive_pins December 22, 2015 03:22AM |
Registered: 9 years ago Posts: 5,232 |
Re: Marlin compilation error on sensitive_pins December 22, 2015 10:16PM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 23, 2015 09:47AM |
Registered: 8 years ago Posts: 552 |
Quote
Outbound
I'm still getting errors, namely in terms of variables that it's complaining that aren't declared in the scope. I'm not that familiar with Python so I'm sure I'm just missing something basic here and not setting some fundamental configuration steps.
If anyone has the patience I've put together a small zip file with the Megatronics generic firmware I've been trying to configure and the original Creatr controller board's Marlin firmware. It can be downloaded here.
Any help would be appreciated.
Re: Marlin compilation error on sensitive_pins December 23, 2015 11:21AM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 23, 2015 11:49AM |
Registered: 8 years ago Posts: 552 |
Quote
Outbound
Thanks, I'll try that. I've been looking for a reason to learn how to work with Github and I guess I've found a good one.
Re: Marlin compilation error on sensitive_pins December 23, 2015 07:40PM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 23, 2015 08:19PM |
Registered: 8 years ago Posts: 552 |
Quote
Outbound
So I'm taking a look at the Github for Marlin but it seems like the only thing I can do is suggest a new file.
I'm not sure how to upload all the changes I've made to my configuration so someone can look at it.
Any hints?
Re: Marlin compilation error on sensitive_pins December 23, 2015 08:21PM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 23, 2015 08:26PM |
Registered: 9 years ago Posts: 35 |
Quote
I'm not a GitHub expert. But what you do is fork the appropriate repository. You tell it to put it on your local machine. You make what ever changes you need to make. Get it as close as you can. And then you do a Commit for those changes and then you issue a Pull Request. At that point, anybody can check out and work with the changes you have made.
Re: Marlin compilation error on sensitive_pins December 23, 2015 09:41PM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 23, 2015 10:54PM |
Registered: 9 years ago Posts: 35 |
Re: Marlin compilation error on sensitive_pins December 25, 2015 10:50AM |
Registered: 8 years ago Posts: 552 |