first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / avr / ao_pins.h
index 0f49db0b83b8b6bf656b618adda7a8d50cee266e..9686c418ee4c304ca80b39594ec7d17665ec4eac 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
@@ -32,7 +33,7 @@
        #define HAS_BEEP                0
 #endif
 
-#ifdef TELESCIENCE
+#if defined(TELESCIENCE) || defined(TELESCIENCE_PWM)
        #define LEDS_AVAILABLE          0
        #define HAS_USB                 1
        #define HAS_LOG                 1
        #define AVR_VCC_5V              0
        #define AVR_VCC_3V3             1
        #define AVR_CLOCK               8000000UL
+#ifdef TELESCIENCE_PWM
        #define HAS_ICP3_COUNT          1
+#else
+       #define HAS_ICP3_COUNT          0
+#endif
 
        #define SPI_CS_PORT             PORTE
        #define SPI_CS_DIR              DDRE
@@ -65,6 +70,7 @@
 #endif
 
 #ifdef TELEPYRO
+       #define AO_STACK_SIZE           104
        #define LEDS_AVAILABLE          0
        #define HAS_USB                 1
        #define HAS_LOG                 0