projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
micropeak: Compile for java 6
[fw/altos]
/
src
/
megadongle-v0.1
/
ao_pins.h
diff --git
a/src/megadongle-v0.1/ao_pins.h
b/src/megadongle-v0.1/ao_pins.h
index cabe9ee29290cdbf92b765682d422af239d9bcfd..d460a49095b9a38fdd3fd93cb05cdbf122f91f37 100644
(file)
--- a/
src/megadongle-v0.1/ao_pins.h
+++ b/
src/megadongle-v0.1/ao_pins.h
@@
-78,6
+78,7
@@
#define HAS_SPI_2 1
#define SPI_2_PB13_PB14_PB15 1 /* Flash, Companion */
#define SPI_2_PD1_PD3_PD4 0
#define HAS_SPI_2 1
#define SPI_2_PB13_PB14_PB15 1 /* Flash, Companion */
#define SPI_2_PD1_PD3_PD4 0
+#define SPI_2_OSPEEDR STM_OSPEEDR_10MHz
#define SPI_2_PORT (&stm_gpiob)
#define SPI_2_SCK_PIN 13
#define SPI_2_PORT (&stm_gpiob)
#define SPI_2_SCK_PIN 13
@@
-132,15
+133,22
@@
#define AO_RADIO_CAL_DEFAULT 0x6ca333
#define AO_FEC_DEBUG 0
#define AO_RADIO_CAL_DEFAULT 0x6ca333
#define AO_FEC_DEBUG 0
-#define AO_CC1120_SPI_CS_PORT (&stm_gpio
c
)
-#define AO_CC1120_SPI_CS_PIN
5
+#define AO_CC1120_SPI_CS_PORT (&stm_gpio
a
)
+#define AO_CC1120_SPI_CS_PIN
0
#define AO_CC1120_SPI_BUS AO_SPI_2_PB13_PB14_PB15
#define AO_CC1120_SPI_BUS AO_SPI_2_PB13_PB14_PB15
+#define AO_CC1120_SPI stm_spi2
#define AO_CC1120_INT_PORT (&stm_gpioc)
#define AO_CC1120_INT_PORT (&stm_gpioc)
-#define AO_CC1120_INT_PIN 14
+#define AO_CC1120_INT_PIN 13
+
+#define AO_CC1120_MCU_WAKEUP_PORT (&stm_gpioc)
+#define AO_CC1120_MCU_WAKEUP_PIN (0)
#define AO_CC1120_INT_GPIO 2
#define AO_CC1120_INT_GPIO 2
-#define HAS_BOOT_RADIO 1
+#define AO_CC1120_INT_GPIO_IOCFG CC1120_IOCFG2
+
+#define AO_CC1120_MARC_GPIO 3
+#define AO_CC1120_MARC_GPIO_IOCFG CC1120_IOCFG3
/*
* Profiling Viterbi decoding
/*
* Profiling Viterbi decoding