SD card: commit SD_CARD_SELECT_PIN to all the board files.

For the bigger boards like RAMPS or Rumba the pin numbers were
taken from Marlin. For the smaller boards, the pin is commented
out.
This commit is contained in:
Markus Hitter 2015-07-30 14:26:15 +02:00
parent 15e8dec9b2
commit 42b96e0e27
18 changed files with 239 additions and 1 deletions

View File

@ -123,7 +123,7 @@ regressiontests:
# Generic RAMPS configuration.
$(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-ramps.h \
MCU=atmega2560 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all
# Generic Teensy2 configuration, which uses USB_SERIAL.
# Generic Teensy2 configuration, which uses USB_SERIAL and no SD card.
$(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-teensy2.h \
MCU=atmega32u4 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all
# Generic Gen3 configuration for {TX,RX}_ENABLE_PIN.

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO25
/***************************************************************************\
* *

View File

@ -101,6 +101,20 @@
*/
//#define DEBUG_LED_PIN DIO21
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO21
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO4
/***************************************************************************\
* *

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -102,6 +102,20 @@
*/
//#define DEBUG_LED_PIN DIO21
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO10
/***************************************************************************\
* *

View File

@ -102,6 +102,20 @@
*/
//#define DEBUG_LED_PIN DIO21
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO10
/***************************************************************************\
* *

View File

@ -101,6 +101,20 @@
*/
#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -99,6 +99,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO53
/***************************************************************************\
* *

View File

@ -99,6 +99,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO53
/***************************************************************************\
* *

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO53
/***************************************************************************\
* *

View File

@ -101,6 +101,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -101,6 +101,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO33
/***************************************************************************\
* *

View File

@ -101,6 +101,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -98,6 +98,20 @@
*/
//#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\
* *

View File

@ -99,6 +99,20 @@
*/
#define DEBUG_LED_PIN DIO13
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
#define SD_CARD_SELECT_PIN DIO53
/***************************************************************************\
* *

View File

@ -327,6 +327,20 @@
*/
#define DEBUG_LED_PIN DIO21
/** \def SD_CARD_SELECT_PIN
Chip Select pin of the SD card.
SD cards work over SPI and have a Chip Select or Slave Select (SS) pin.
Choose this pin according to where on the board your SD card adapter is
connected. Disabling this pin also disables SD card support and makes the
firmware binary about 4.5 kB smaller.
Connecting a device to SPI actually uses 4 signal lines, the other three
pins are choosen by Teacup automatically.
*/
//#define SD_CARD_SELECT_PIN xxxx
/***************************************************************************\