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 \
28 bertos/mware/sprintf.c \
29 bertos/struct/heap.c \
33 bertos/kern/preempt.c \
34 bertos/kern/proc_test.c \
35 bertos/kern/signal_test.c \
36 bertos/kern/monitor.c \
37 bertos/kern/signal.c \
41 bertos/cpu/arm/hw/crtat91sam7_rom.S \
42 bertos/cpu/arm/hw/switch_ctx_arm.S \
45 at91sam7x_PREFIX = arm-none-eabi-
47 at91sam7x_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
48 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
49 at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
51 at91sam7x_CPU = arm7tdmi
53 at91sam7x_PROGRAMMER_CPU = at91sam7
54 at91sam7x_PROGRAMMER_TYPE = jtag-tiny
55 at91sam7x_FLASH_SCRIPT = bertos/prg_scripts/arm/flash.sh
56 at91sam7x_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
57 at91sam7x_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
58 at91sam7x_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh