projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Split out arch-specific bits of LCD driver
[fw/altos]
/
src
/
cc1111
/
ao_pins.h
diff --git
a/src/cc1111/ao_pins.h
b/src/cc1111/ao_pins.h
index 91719b54100f4e3c487e8fcfe7642e463cbe66d4..d2fbb20932969ebe1387ed1f96a9da8d15bcb87b 100644
(file)
--- a/
src/cc1111/ao_pins.h
+++ b/
src/cc1111/ao_pins.h
@@
-36,6
+36,7
@@
#define IGNITE_ON_P0 0
#define PACKET_HAS_MASTER 0
#define PACKET_HAS_SLAVE 1
#define IGNITE_ON_P0 0
#define PACKET_HAS_MASTER 0
#define PACKET_HAS_SLAVE 1
+ #define NOISY_ACCEL 1
#define HAS_COMPANION 1
#define COMPANION_CS_ON_P1 1
#define HAS_COMPANION 1
#define COMPANION_CS_ON_P1 1
@@
-111,6
+112,7
@@
#define SPI_CS_ON_P0 0
#define HAS_IGNITE 0
#define HAS_MONITOR 1
#define SPI_CS_ON_P0 0
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
#define HAS_AES 1
#endif
@@
-220,6
+222,7
@@
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
#define HAS_AES 1
#endif
@@
-245,6
+248,7
@@
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
#define SPI_CS_ON_P0 1
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_RSSI 1
#define HAS_AES 1
#endif
#define HAS_AES 1
#endif
@@
-271,11
+275,13
@@
#define SPI_CS_ON_P1 1
#define SPI_CS_ON_P0 0
#define HAS_IGNITE 0
#define SPI_CS_ON_P1 1
#define SPI_CS_ON_P0 0
#define HAS_IGNITE 0
+ #define HAS_IGNITE_REPORT 1
#define BT_LINK_ON_P2 1
#define BT_LINK_ON_P1 0
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P2_1
#define HAS_MONITOR 1
#define BT_LINK_ON_P2 1
#define BT_LINK_ON_P1 0
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P2_1
#define HAS_MONITOR 1
+ #define HAS_RSSI 0
#define HAS_AES 1
#endif
#define HAS_AES 1
#endif
@@
-309,11
+315,13
@@
#define M25_MAX_CHIPS 1
#define HAS_ACCEL 0
#define HAS_IGNITE 0
#define M25_MAX_CHIPS 1
#define HAS_ACCEL 0
#define HAS_IGNITE 0
+ #define HAS_IGNITE_REPORT 1
#define BT_LINK_ON_P2 0
#define BT_LINK_ON_P1 1
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P1_7
#define HAS_MONITOR 1
#define BT_LINK_ON_P2 0
#define BT_LINK_ON_P1 1
#define BT_LINK_PIN_INDEX 7
#define BT_LINK_PIN P1_7
#define HAS_MONITOR 1
+ #define HAS_RSSI 0
#define HAS_AES 1
#endif
#define HAS_AES 1
#endif
@@
-444,6
+452,10
@@
#error Please define HAS_IGNITE
#endif
#error Please define HAS_IGNITE
#endif
+#if HAS_IGNITE
+#define HAS_IGNITE_REPORT 1
+#endif
+
#ifndef PACKET_HAS_MASTER
#error Please define PACKET_HAS_MASTER
#endif
#ifndef PACKET_HAS_MASTER
#error Please define PACKET_HAS_MASTER
#endif
@@
-456,6
+468,12
@@
#error Please define HAS_MONITOR
#endif
#error Please define HAS_MONITOR
#endif
+#if HAS_MONITOR
+#ifndef HAS_RSSI
+#error Please define HAS_RSSI
+#endif
+#endif
+
#ifndef HAS_ADC
#error Please define HAS_ADC
#endif
#ifndef HAS_ADC
#error Please define HAS_ADC
#endif