diff --git a/config.gen3.h b/config.gen3.h index c399775..2b5abe9 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -297,7 +297,17 @@ //#define STEPPER_ENABLE_PIN xxxx //#define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 diff --git a/config.gen6.h b/config.gen6.h index 2248fb9..40586bb 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -292,7 +292,17 @@ //#define STEPPER_ENABLE_PIN xxxx //#define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index a3767b2..846968c 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -300,7 +300,17 @@ #define STEPPER_ENABLE_PIN DIO24 #define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO21 diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index 0d89e81..c54d003 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -300,7 +300,17 @@ #define STEPPER_ENABLE_PIN DIO25 #define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO21 diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index 20a32ad..72d46db 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -295,7 +295,17 @@ //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 4ce708c..b1c8396 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -295,12 +295,22 @@ //#define STEPPER_ENABLE_PIN xxxx //#define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 - // TODO: 20110813 SJL - the following two are not yet used&verified for RAMPS1.3 //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 + /***************************************************************************\ diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index 6cafe4a..5fee367 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -293,11 +293,22 @@ #define STEPPER_ENABLE_PIN DIO4 //#define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 - //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 + + /***************************************************************************\ * * diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index 311e9e1..c4df15a 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -293,11 +293,22 @@ #define STEPPER_ENABLE_PIN DIO14 #define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 - //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 + + /***************************************************************************\ * * diff --git a/config.sanguish.h b/config.sanguish.h index 77e68b0..302419f 100644 --- a/config.sanguish.h +++ b/config.sanguish.h @@ -300,7 +300,17 @@ //#define STEPPER_ENABLE_PIN DIO25 //#define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 diff --git a/config.teensy.h b/config.teensy.h index e31b2f4..85efdd6 100644 --- a/config.teensy.h +++ b/config.teensy.h @@ -342,11 +342,22 @@ to use the other 6 PWMs instead. #define STEPPER_ENABLE_PIN DIO19 #define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 - //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO22 + + /***************************************************************************\ * * diff --git a/config.teensypp.h b/config.teensypp.h index d02aaa8..0fdc2ea 100644 --- a/config.teensypp.h +++ b/config.teensypp.h @@ -356,11 +356,22 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a #define STEPPER_ENABLE_PIN DIO26 #define STEPPER_INVERT_ENABLE -//#define DEBUG_LED_PIN DIO0 - //#define SD_CARD_DETECT DIO2 //#define SD_WRITE_PROTECT DIO3 +/** \def DEBUG_LED_PIN + + Enable flashing of a LED during motor stepping. + + Disabled by default. Uncommenting this makes the binary a few bytes larger + and adds a few cycles to the step timing interrrupt in timer.c. Also used + for precision profiling (profiling works even without actually having such + a LED in hardware), see + http://reprap.org/wiki/Teacup_Firmware#Doing_precision_profiling +*/ +// #define DEBUG_LED_PIN DIO13 + + /***************************************************************************\ * *