summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ab1a253b..9284ed25 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,9 @@ NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \
--nolabelopt --nooverlay --peep-asm
DEBUG=--debug
-CFLAGS=--model-large $(DEBUG) --less-pedantic \
- --no-peep --int-long-reent --float-reent \
+CFLAGS=--model-small $(DEBUG) --less-pedantic
LDFLAGS=--out-fmt-ihx
-LDFLAGS_RAM=$(LDFLAGS) --code-loc 0xf000 --code-size 0x800 \
- --xram-loc 0xf800 --xram-size 0x700 --iram-size 0xff
-
-
LDFLAGS_FLASH=$(LDFLAGS) --code-loc 0x0000 --code-size 0x8000 \
--xram-loc 0xf000 --xram-size 0xf00 --iram-size 0xff
@@ -22,12 +17,13 @@ INC = \
SRC = \
ao_adc.c \
ao_beep.c \
+ ao_cmd.c \
ao_led.c \
+ ao_panic.c \
ao_task.c \
ao_timer.c \
ao_usb.c \
- ao_panic.c \
- ao_test.c \
+ ao_main.c \
_bp.c
ADB=$(SRC:.c=.adb)