altos: SPI slave code is now per-product
[fw/altos] / src / avr / ao_pins.h
index 56435f18714b3fd463f6ff8b0b137b79459c931c..88f03829ec74b9e2108c59fb5f43f2693391ed7e 100644 (file)
        #define SPI_CS_DIR              DDRE
        #define M25_CS_MASK             (1 << PORTE6)
        #define M25_MAX_CHIPS           1
+
+       #define SPI_SLAVE_CS_PORT       PORTB
+       #define SPI_SLAVE_CS_PIN        PINB
+       #define SPI_SLAVE_CS_PIN_NO     PINB0
+
+       #define SPI_SLAVE_PIN_0_3       1
+       #define SPI_SLAVE_PIN_2_5       0
 #endif
 
 #endif /* _AO_PINS_H_ */