Hi,
My Arduino board uses this microcontroller http://www.atmel.com/Images/doc2503.pdf and i need to change the pinmap file so that it detects my microcontroller and i can use SD library. I changed pin numbers suitable to my controller ( SS_PIN , MOSI_PIN , MISO_PIN and SCK_PIN ) and also tried changing the name in the following code by AVR_ATmega32 instead of AVR_ATmega1280 or AVR_ATmega2560 but it din't detect. can anyone please tell me how should i name it so that my controller is detected.
#if defined(AVR_ATmega1280) || defined(AVR_ATmega2560)
// Mega
// Two Wire (aka I2C) ports
uint8_t const SDA_PIN = 20;
uint8_t const SCL_PIN = 21;
// SPI port
uint8_t const SS_PIN = 53;
uint8_t const MOSI_PIN = 51;
uint8_t const MISO_PIN = 50;
uint8_t const SCK_PIN = 52;
plz guide me , thanks.