From: Keith Packard Date: Fri, 23 Mar 2012 07:55:53 +0000 (-0700) Subject: Get config stuff hooked up for MegaMetrum X-Git-Tag: 1.0.9.4~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=f2c110fb4531144f18f62200e4127738c84e87f1 Get config stuff hooked up for MegaMetrum This stubs out enough stuff to let ao_config link and work Signed-off-by: Keith Packard --- 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_ */