summaryrefslogtreecommitdiff
path: root/src/product
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-10-11 23:30:53 -0600
committerKeith Packard <keithp@keithp.com>2011-10-11 23:30:53 -0600
commit0debe7ffc2aab2b4d08f42e488cb783ae91c36ab (patch)
tree30b1954f002d76ab14ad713d7cd9546ac8afe893 /src/product
parent65873a3ad1d8e8b5ec002be2576c6f496543306a (diff)
altos: Add TeleTerra v0.2 product
This includes most of the necessary drivers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
-rw-r--r--src/product/ao_teleterra_0_2.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/product/ao_teleterra_0_2.c b/src/product/ao_teleterra_0_2.c
new file mode 100644
index 00000000..a6c10158
--- /dev/null
+++ b/src/product/ao_teleterra_0_2.c
@@ -0,0 +1,36 @@
+/*
+ * Copyright © 2009 Keith Packard <keithp@keithp.com>
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+#define AO_NO_ADC_ISR 1
+#include "ao.h"
+
+void
+main(void)
+{
+ ao_clock_init();
+
+ ao_timer_init();
+ ao_beep_init();
+ ao_cmd_init();
+ ao_usb_init();
+ ao_serial_init();
+ ao_gps_init();
+ ao_monitor_init(0, TRUE);
+ ao_radio_init();
+ ao_config_init();
+ ao_start_scheduler();
+}