Switch from GPLv2 to GPLv2+
[fw/altos] / src / teleterra-v0.2 / ao_pins.h
index 9c35b06aee02866a195eac23f5479d7b16db74cc..8d9f7a2f1c0f55b579140aa7bbd292d58d4ebc13 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
 #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 USE_SERIAL_STDIN        0
+       #define HAS_LCD                 1
        #define HAS_EEPROM              1
        #define HAS_LOG                 1
        #define USE_INTERNAL_FLASH      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 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 HAS_MONITOR_PUT         0
+       #define HAS_MONITOR_PUT         1
        #define LEGACY_MONITOR          0
        #define HAS_RSSI                0
        #define HAS_AES                 0
        #define BUTTON_3_REG            2
        #define BUTTON_3_MASK           (1 << 4)        /* P2_4 */
 
+       #define HAS_P2_ISR              1
+
        #define BATTERY_PIN             5
-       
+       #define HAS_TELEMETRY           0
+
+       #define AO_VALUE_32             0
 #endif
 
 #if DBG_ON_P1
 #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
 #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_ */