Configuration: move DEBUG_LED definition.
Eventual debugging LEDs aren't part of the CPU, but part of the electronics. Accordingly, define it in config.*.h, not in arduino_*.h (which would be better named something like "atmega_*.h).
This commit is contained in:
parent
9a08675576
commit
6250dbb9e0
|
|
@ -29,8 +29,6 @@
|
||||||
#define OC5B DIO45
|
#define OC5B DIO45
|
||||||
#define OC5C DIO44
|
#define OC5C DIO44
|
||||||
|
|
||||||
// change for your board
|
|
||||||
#define DEBUG_LED DIO21
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
#define OC2A DIO11
|
#define OC2A DIO11
|
||||||
#define OC2B DIO3
|
#define OC2B DIO3
|
||||||
|
|
||||||
#define DEBUG_LED AIO5
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,6 @@
|
||||||
#define OC4D DIO12
|
#define OC4D DIO12
|
||||||
|
|
||||||
|
|
||||||
// change for your board
|
|
||||||
#define DEBUG_LED DIO22 /* led D11 red */
|
|
||||||
#define DEBUG_LED_PIN DIO22
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
#define OC2A DIO15
|
#define OC2A DIO15
|
||||||
#define OC2B DIO14
|
#define OC2B DIO14
|
||||||
|
|
||||||
#define DEBUG_LED DIO0
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,6 @@
|
||||||
#define MOSI DIO10
|
#define MOSI DIO10
|
||||||
#define SS DIO8
|
#define SS DIO8
|
||||||
|
|
||||||
// change for your board
|
|
||||||
#define DEBUG_LED DIO6 /* led D6 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
#define MOSI DIO10
|
#define MOSI DIO10
|
||||||
#define SS DIO8
|
#define SS DIO8
|
||||||
|
|
||||||
// change for your board
|
|
||||||
#define DEBUG_LED DIO31 /* led D5 red */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
pins
|
pins
|
||||||
|
|
|
||||||
|
|
@ -292,6 +292,8 @@
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -297,6 +297,8 @@
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -292,6 +292,8 @@
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,8 @@
|
||||||
#define STEPPER_ENABLE_PIN DIO24
|
#define STEPPER_ENABLE_PIN DIO24
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,8 @@
|
||||||
#define STEPPER_ENABLE_PIN DIO25
|
#define STEPPER_ENABLE_PIN DIO25
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -295,6 +295,8 @@
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -295,6 +295,8 @@
|
||||||
//#define STEPPER_ENABLE_PIN xxxx
|
//#define STEPPER_ENABLE_PIN xxxx
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
// TODO: 20110813 SJL - the following two are not yet used&verified for RAMPS1.3
|
// TODO: 20110813 SJL - the following two are not yet used&verified for RAMPS1.3
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,8 @@
|
||||||
#define STEPPER_ENABLE_PIN DIO4
|
#define STEPPER_ENABLE_PIN DIO4
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,8 @@
|
||||||
#define STEPPER_ENABLE_PIN DIO14
|
#define STEPPER_ENABLE_PIN DIO14
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,8 @@
|
||||||
//#define STEPPER_ENABLE_PIN DIO25
|
//#define STEPPER_ENABLE_PIN DIO25
|
||||||
//#define STEPPER_INVERT_ENABLE
|
//#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
|
|
|
||||||
|
|
@ -342,6 +342,8 @@ to use the other 6 PWMs instead.
|
||||||
#define STEPPER_ENABLE_PIN DIO19
|
#define STEPPER_ENABLE_PIN DIO19
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -356,6 +356,8 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
|
||||||
#define STEPPER_ENABLE_PIN DIO26
|
#define STEPPER_ENABLE_PIN DIO26
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
//#define DEBUG_LED_PIN DIO0
|
||||||
|
|
||||||
//#define SD_CARD_DETECT DIO2
|
//#define SD_CARD_DETECT DIO2
|
||||||
//#define SD_WRITE_PROTECT DIO3
|
//#define SD_WRITE_PROTECT DIO3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue