summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-23 00:55:53 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:04 -0700
commitf2c110fb4531144f18f62200e4127738c84e87f1 (patch)
treeda29a77a0afae904d203ccc1c9749fb536d4416d /src
parent0bda768c2be5b81bec13f21d4d3bb6a11a8e88fa (diff)
Get config stuff hooked up for MegaMetrum
This stubs out enough stuff to let ao_config link and work Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/megametrum-v0.1/Makefile4
-rw-r--r--src/megametrum-v0.1/ao_megametrum.c2
-rw-r--r--src/stm/ao_arch.h2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/Makefile b/src/megametrum-v0.1/Makefile
index 4f5e9244..ed91d04f 100644
--- a/src/megametrum-v0.1/Makefile
+++ b/src/megametrum-v0.1/Makefile
@@ -21,6 +21,7 @@ ALTOS_SRC = \
ao_product.c \
ao_romconfig.c \
ao_cmd.c \
+ ao_config.c \
ao_task.c \
ao_led.c \
ao_stdio.c \
@@ -28,7 +29,8 @@ ALTOS_SRC = \
ao_timer.c \
ao_mutex.c \
ao_serial_stm.c \
- ao_gps_skytraq.c
+ ao_gps_skytraq.c \
+ ao_cc1120.c
PRODUCT=MegaMetrum-v0.1
PRODUCT_DEF=-DMEGAMETRUM
diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c
index 14881eb8..6bf43cb1 100644
--- a/src/megametrum-v0.1/ao_megametrum.c
+++ b/src/megametrum-v0.1/ao_megametrum.c
@@ -27,6 +27,8 @@ main(void)
ao_led_on(AO_LED_GREEN);
ao_timer_init();
ao_cmd_init();
+ ao_gps_init();
+ ao_config_init();
ao_start_scheduler();
return 0;
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h
index fcc177ef..188b8996 100644
--- a/src/stm/ao_arch.h
+++ b/src/stm/ao_arch.h
@@ -201,5 +201,7 @@ ao_serial3_pollchar(void);
void
ao_serial3_set_speed(uint8_t speed);
+extern uint32_t ao_radio_cal;
+
#endif /* _AO_ARCH_H_ */