projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Eliminate warnings in FAT code
[fw/altos]
/
src
/
teleterra-v0.2
/
ao_pins.h
diff --git
a/src/teleterra-v0.2/ao_pins.h
b/src/teleterra-v0.2/ao_pins.h
index 7b6f08b217e762be5446d70e5e828e5d336cf501..1c12c437b8651900b5741aed428bd5ae52f37802 100644
(file)
--- a/
src/teleterra-v0.2/ao_pins.h
+++ b/
src/teleterra-v0.2/ao_pins.h
@@
-21,11
+21,12
@@
#ifdef TELETERRA_V_0_2
#define HAS_FLIGHT 0
#define HAS_USB 1
#ifdef TELETERRA_V_0_2
#define HAS_FLIGHT 0
#define HAS_USB 1
+ #define HAS_RADIO 1
#define HAS_BEEP 1
#define HAS_GPS 1
#define HAS_SERIAL_1 1
#define HAS_ADC 0
#define HAS_BEEP 1
#define HAS_GPS 1
#define HAS_SERIAL_1 1
#define HAS_ADC 0
- #define
USE_SERIAL_STDIN 0
+ #define
HAS_LCD 1
#define HAS_EEPROM 1
#define HAS_LOG 1
#define USE_INTERNAL_FLASH 0
#define HAS_EEPROM 1
#define HAS_LOG 1
#define USE_INTERNAL_FLASH 0
@@
-36,15
+37,18
@@
#define IGNITE_ON_P0 0
#define PACKET_HAS_MASTER 1
#define PACKET_HAS_SLAVE 0
#define IGNITE_ON_P0 0
#define PACKET_HAS_MASTER 1
#define PACKET_HAS_SLAVE 0
+ #define HAS_RADIO_CHANNELS 1
#define HAS_COMPANION 0
#define HAS_COMPANION 0
+ #define AO_MONITOR_LED 0
#define LEDS_AVAILABLE 0
#define HAS_EXTERNAL_TEMP 0
#define HAS_ACCEL_REF 0
#define HAS_ACCEL 0
#define HAS_IGNITE 0
#define HAS_MONITOR 1
#define LEDS_AVAILABLE 0
#define HAS_EXTERNAL_TEMP 0
#define HAS_ACCEL_REF 0
#define HAS_ACCEL 0
#define HAS_IGNITE 0
#define HAS_MONITOR 1
+ #define HAS_MONITOR_PUT 1
#define LEGACY_MONITOR 0
#define HAS_RSSI 0
#define HAS_AES 0
#define LEGACY_MONITOR 0
#define HAS_RSSI 0
#define HAS_AES 0
@@
-54,9
+58,20
@@
#define M25_CS_MASK 0x04
#define M25_MAX_CHIPS 1
#define M25_CS_MASK 0x04
#define M25_MAX_CHIPS 1
+ #define HAS_BUTTON 1
+ #define BUTTON_1_REG 0
+ #define BUTTON_1_MASK (1 << 4) /* P0_4 */
+
+ #define BUTTON_2_REG 2
+ #define BUTTON_2_MASK (1 << 3) /* P2_3 */
+
+ #define BUTTON_3_REG 2
+ #define BUTTON_3_MASK (1 << 4) /* P2_4 */
+
#define HAS_P2_ISR 1
#define HAS_P2_ISR 1
- #define HAS_BUTTON_P0 1
- #define HAS_BUTTON_P2 1
+
+ #define BATTERY_PIN 5
+
#endif
#if DBG_ON_P1
#endif
#if DBG_ON_P1
@@
-125,10
+140,6
@@
#error Please define HAS_SERIAL_1
#endif
#error Please define HAS_SERIAL_1
#endif
-#ifndef USE_SERIAL_STDIN
-#error Please define USE_SERIAL_STDIN
-#endif
-
#ifndef HAS_ADC
#error Please define HAS_ADC
#endif
#ifndef HAS_ADC
#error Please define HAS_ADC
#endif
@@
-215,4
+226,7
@@
#define AO_IGNITER_FIRE_TIME AO_MS_TO_TICKS(50)
#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
#define AO_IGNITER_FIRE_TIME AO_MS_TO_TICKS(50)
#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
+#define AO_M25_SPI_CS_PORT SPI_CS_PORT
+#define AO_M25_SPI_CS_MASK M25_CS_MASK
+
#endif /* _AO_PINS_H_ */
#endif /* _AO_PINS_H_ */