From 8d9da58254aabb37d2c76414ba5a1a6e43518f45 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 12 Mar 2011 01:10:40 +0000 Subject: add ADC prescale flag --- kernel/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 0807a73..810c3d5 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -10,6 +10,7 @@ STACK = 64 TASKS = 8 SEMAPHORES = 8 BAUD = 9600 +ADCPRESCALE = 8 # You should not have to change anything below here. @@ -20,7 +21,8 @@ SIZE = avr-size OBJS = ${SRCS:.c=.o} CFLAGS = -Wall -Os -mmcu=${MCU_TARGET} \ -DF_CPU=${F_CPU} -DPRESCALE=${PRESCALE} -DBAUD=${BAUD} \ - -DSTACK=${STACK} -DTASKS=${TASKS} -DSEMAPHORES=${SEMAPHORES} + -DSTACK=${STACK} -DTASKS=${TASKS} -DSEMAPHORES=${SEMAPHORES} \ + -DADCPRESCALE=${ADCPRESCALE} LDFLAGS = -Wl,-Map,${PROG}.map .SUFFIXES: .elf .lst .hex .bin .srec .ehex .ebin .esrec -- cgit v1.2.3