telegps-v0.1: Hack up for SDCARD debugging
[fw/altos] / src / telegps-v0.1 / ao_pins.h
index 7ff599562dff637263528423901c38df70aab36f..5afc9498c7d22bcdd01d1032ba85e86a5cf602b1 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 #define AO_CC115L_SPI_CS_PIN   12
 #define AO_CC115L_SPI_BUS      AO_SPI_2_PB13_PB14_PB15
 #define AO_CC115L_SPI          stm_spi2
+#define AO_CC115L_SPI_SPEED    AO_SPI_SPEED_4MHz
 
 #define AO_CC115L_FIFO_INT_GPIO_IOCFG  CC115L_IOCFG2
 #define AO_CC115L_FIFO_INT_PORT                (&stm_gpioa)
 #define AO_SDCARD_SPI_CS_PIN   4
 #define AO_SDCARD_SPI          stm_spi1
 
+#define SDCARD_DEBUG           1
+#define SDCARD_WARN            1
+#define SDCARD_TRACE           1
+
 #endif /* _AO_PINS_H_ */