diff options
| author | Keith Packard <keithp@keithp.com> | 2013-05-23 02:17:51 -0600 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-08-25 22:24:01 -0700 | 
| commit | 56911f27376b0fe91a464e369bb8aa1531b3c7dc (patch) | |
| tree | b525a8f527917355b758a1812692fd4a84578f7f /src/telemini-v2.0 | |
| parent | cb844328322fd7d9f4dafb58b322257a70b347e6 (diff) | |
altos: Make TeleMini v2.0 fit
Mash lots of storage locations and code around to shrink stuff down to size
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telemini-v2.0')
| -rw-r--r-- | src/telemini-v2.0/Makefile | 9 | ||||
| -rw-r--r-- | src/telemini-v2.0/ao_pins.h | 2 | 
2 files changed, 9 insertions, 2 deletions
diff --git a/src/telemini-v2.0/Makefile b/src/telemini-v2.0/Makefile index afd529f0..984406a9 100644 --- a/src/telemini-v2.0/Makefile +++ b/src/telemini-v2.0/Makefile @@ -19,7 +19,11 @@ INC = \  	ao_arch.h \  	ao_arch_funcs.h \  	cc1111.h \ -	ao_product.h +	ao_ms5607.h \ +	ao_ms5607_convert_8051.c \ +	ao_product.h \ +	ao_int64.h \ +	ao_sample.h  CORE_SRC = \  	ao_cmd.c \ @@ -37,7 +41,8 @@ CORE_SRC = \  	ao_storage.c \  	ao_task.c \  	ao_telemetry.c \ -	ao_freq.c +	ao_freq.c \ +	ao_int64.c  CC1111_SRC = \  	ao_adc.c \ diff --git a/src/telemini-v2.0/ao_pins.h b/src/telemini-v2.0/ao_pins.h index 386c8dc3..fad029e2 100644 --- a/src/telemini-v2.0/ao_pins.h +++ b/src/telemini-v2.0/ao_pins.h @@ -115,6 +115,8 @@ struct ao_adc {  #define AO_SENSE_DROGUE(p)	((p)->adc.sense_a)  #define AO_SENSE_MAIN(p)	((p)->adc.sense_m) +#define AO_NUM_TASKS	10 +  #define AO_ADC_DUMP(p) \  	printf("tick: %5u apogee: %5d main: %5d batt: %5d\n", \  	       (p)->tick, (p)->adc.sense_a, (p)->adc.sense_m, (p)->adc.v_batt)  | 
