altos: Add support for UART0 in async mode
[fw/altos] / src / teleshield-v0.1 / ao_pins.h
index cbedb23831bf6bb6b731eea8d5c08ef830f7220d..a907e2a512d0dcba668ca086478ba06e0c25f851 100644 (file)
        #define HAS_SERIAL_1_ALT_2      0
        #define HAS_SERIAL_1_HW_FLOW    1
        #define USE_SERIAL_STDIN        1
+       #define HAS_SERIAL_0            1
+       #define HAS_SERIAL_0_ALT_1      0
+       #define HAS_SERIAL_0_ALT_2      1
+       #define HAS_SERIAL_0_HW_FLOW    0
        #define HAS_ADC                 0
        #define HAS_DBG                 1
        #define HAS_EEPROM              0
@@ -37,8 +41,8 @@
        #define DBG_ON_P0               0
        #define IGNITE_ON_P2            0
        #define IGNITE_ON_P0            0
-       #define PACKET_HAS_MASTER       1
-       #define PACKET_HAS_SLAVE        0
+       #define PACKET_HAS_MASTER       0
+       #define PACKET_HAS_SLAVE        1
        #define AO_LED_RED              1
        #define AO_LED_GREEN            2
        #define AO_MONITOR_LED          AO_LED_RED
 #define AO_IGNITER_FIRE_TIME   AO_MS_TO_TICKS(50)
 #define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
 
+void
+ao_ardu_serial_init (void);
+
+
 #endif /* _AO_PINS_H_ */