altos: Get CC115L radio working.
[fw/altos] / src / telegps-v0.1 / ao_pins.h
index 095745686da569b1ee49c9785a630b57ac4ef928..eea050c9170329e60e7e612c7b3858f478704aff 100644 (file)
 #define AO_CC115L_SPI_BUS      AO_SPI_2_PB13_PB14_PB15
 #define AO_CC115L_SPI          stm_spi2
 
-#define AO_CC115L_INT_PORT     (&stm_gpioa)
-#define AO_CC115L_INT_PIN      (9)
+#define AO_CC115L_FIFO_INT_GPIO_IOCFG  CC115L_IOCFG2
+#define AO_CC115L_FIFO_INT_PORT                (&stm_gpioa)
+#define AO_CC115L_FIFO_INT_PIN         (9)
 
-#define AO_CC115L_MCU_WAKEUP_PORT      (&stm_gpioa)
-#define AO_CC115L_MCU_WAKEUP_PIN       (10)
-
-#define AO_CC115L_INT_GPIO     2
-#define AO_CC115L_INT_GPIO_IOCFG       CC115L_IOCFG2
-
-#define AO_CC115L_MARC_GPIO    0
-#define AO_CC115L_MARC_GPIO_IOCFG      CC115L_IOCFG0
+#define AO_CC115L_DONE_INT_GPIO_IOCFG  CC115L_IOCFG0
+#define AO_CC115L_DONE_INT_PORT                (&stm_gpioa)
+#define AO_CC115L_DONE_INT_PIN         (10)
 
 #define HAS_RADIO_AMP          1