projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/telelco-v2.0: Use single-step quadrature code
[fw/altos]
/
src
/
teleshield-v0.1
/
ao_pins.h
diff --git
a/src/teleshield-v0.1/ao_pins.h
b/src/teleshield-v0.1/ao_pins.h
index 1f65973953fa0e07d267fc84fb1fd9ade6b8f754..6baa88c856d5bbde59001da0e2cb62e62df897c2 100644
(file)
--- a/
src/teleshield-v0.1/ao_pins.h
+++ b/
src/teleshield-v0.1/ao_pins.h
@@
-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
*
* 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
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-26,10
+27,14
@@
#define HAS_SERIAL_1_ALT_1 1
#define HAS_SERIAL_1_ALT_2 0
#define HAS_SERIAL_1_HW_FLOW 1
#define HAS_SERIAL_1_ALT_1 1
#define HAS_SERIAL_1_ALT_2 0
#define HAS_SERIAL_1_HW_FLOW 1
- #define USE_SERIAL_STDIN 1
+ #define USE_SERIAL_1_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_ADC 0
#define HAS_DBG 1
- #define HAS_EEPROM
0
+ #define HAS_EEPROM
1
#define HAS_LOG 0
#define USE_INTERNAL_FLASH 1
#define HAS_BTM 1
#define HAS_LOG 0
#define USE_INTERNAL_FLASH 1
#define HAS_BTM 1
@@
-42,6
+47,7
@@
#define AO_LED_RED 1
#define AO_LED_GREEN 2
#define AO_MONITOR_LED AO_LED_RED
#define AO_LED_RED 1
#define AO_LED_GREEN 2
#define AO_MONITOR_LED AO_LED_RED
+ #define AO_BT_LED AO_LED_GREEN
#define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN)
#define SPI_CS_ON_P1 1
#define SPI_CS_ON_P0 0
#define LEDS_AVAILABLE (AO_LED_RED|AO_LED_GREEN)
#define SPI_CS_ON_P1 1
#define SPI_CS_ON_P0 0
@@
-56,6
+62,8
@@
#define LEGACY_MONITOR 0
#define HAS_RSSI 0
#define HAS_AES 0
#define LEGACY_MONITOR 0
#define HAS_RSSI 0
#define HAS_AES 0
+ #define HAS_RADIO 1
+ #define HAS_TELEMETRY 0
#endif
#if DBG_ON_P1
#endif
#if DBG_ON_P1
@@
-124,10
+132,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
@@
-214,4
+218,8
@@
#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)
+void
+ao_ardu_serial_init (void);
+
+
#endif /* _AO_PINS_H_ */
#endif /* _AO_PINS_H_ */