projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up reflashing section, include section on self-flash recovery
[fw/altos]
/
src
/
avr
/
ao_pins.h
diff --git
a/src/avr/ao_pins.h
b/src/avr/ao_pins.h
index bc423ff7b61404011e17f4baf1eb9f3bcca3a778..a08e87fa021660ed21c04050c1690e37e4ad1ea1 100644
(file)
--- a/
src/avr/ao_pins.h
+++ b/
src/avr/ao_pins.h
@@
-32,7
+32,7
@@
#define HAS_BEEP 0
#endif
#define HAS_BEEP 0
#endif
-#if
def TELESCIENCE
+#if
defined(TELESCIENCE) || defined(TELESCIENCE_PWM)
#define LEDS_AVAILABLE 0
#define HAS_USB 1
#define HAS_LOG 1
#define LEDS_AVAILABLE 0
#define HAS_USB 1
#define HAS_LOG 1
@@
-47,6
+47,11
@@
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1
#define AVR_CLOCK 8000000UL
#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
#define SPI_CS_PORT PORTE
#define SPI_CS_DIR DDRE
@@
-64,6
+69,7
@@
#endif
#ifdef TELEPYRO
#endif
#ifdef TELEPYRO
+ #define AO_STACK_SIZE 104
#define LEDS_AVAILABLE 0
#define HAS_USB 1
#define HAS_LOG 0
#define LEDS_AVAILABLE 0
#define HAS_USB 1
#define HAS_LOG 0
@@
-81,6
+87,7
@@
#define IS_COMPANION 1
#define HAS_ORIENT 0
#define ao_storage_pos_t uint16_t
#define IS_COMPANION 1
#define HAS_ORIENT 0
#define ao_storage_pos_t uint16_t
+ #define HAS_ICP3_COUNT 0
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1
#define AVR_VCC_5V 0
#define AVR_VCC_3V3 1