2 # $Id: at91sam7x.mk 18234 2007-10-08 13:39:48Z rasky $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
6 # Makefile fragment for DevLib at91sam7x application.
8 # Author: Bernie Innocenti <bernie@codewiz.org>
12 # Set to 1 for debug builds
15 # Our target application
19 examples/at91sam7/at91sam7.c \
22 bertos/cpu/arm/drv/sysirq_at91.c \
23 bertos/cpu/arm/drv/ser_at91.c \
24 bertos/cpu/arm/drv/timer_at91.c \
25 bertos/mware/event.c \
26 bertos/mware/formatwr.c \
31 bertos/kern/proc_test.c \
32 bertos/kern/monitor.c \
33 bertos/kern/signal.c \
37 bertos/cpu/arm/hw/crtat91sam7_rom.S \
38 bertos/cpu/arm/hw/switch_ctx_arm.S \
41 at91sam7x_PREFIX = arm-none-eabi-
43 at91sam7x_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
44 at91sam7x_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7X256__ -D'CPU_FREQ=(48023000UL)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7 -Ibertos/cpu/arm
45 at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
47 at91sam7x_CPU = arm7tdmi