2 # Copyright 2009 Develer S.r.l. (http://www.develer.com/)
5 # Makefile template for BeRTOS wizard.
7 # Author: Lorenzo Berni <duplo@develer.com>
11 # Constants automatically defined by the selected modules
14 # Our target application
15 TRG += kernel-only_arm
17 kernel-only_arm_PREFIX = "arm-none-eabi-"
19 kernel-only_arm_SUFFIX = ""
21 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel-only_arm_USER_CSRC INSTEAD!
22 kernel-only_arm_WIZARD_CSRC = \
25 bertos/kern/signal.c \
28 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel-only_arm_USER_PCSRC INSTEAD!
29 kernel-only_arm_WIZARD_PCSRC = \
33 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel-only_arm_USER_CPPASRC INSTEAD!
34 kernel-only_arm_WIZARD_CPPASRC = \
35 bertos/cpu/arm/hw/switch_ctx_arm.S \
38 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel-only_arm_USER_CXXSRC INSTEAD!
39 kernel-only_arm_WIZARD_CXXSRC = \
43 # Files automatically generated by the wizard. DO NOT EDIT, USE kernel-only_arm_USER_ASRC INSTEAD!
44 kernel-only_arm_WIZARD_ASRC = \
48 kernel-only_arm_CPPFLAGS = -D'CPU_FREQ=(48023000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -Iexamples/benchmark/kernel-only_arm/ $(kernel-only_arm_CPU_CPPFLAGS) $(kernel-only_arm_USER_CPPFLAGS)
50 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
51 kernel-only_arm_LDFLAGS = $(kernel-only_arm_CPU_LDFLAGS) $(kernel-only_arm_WIZARD_LDFLAGS) $(kernel-only_arm_USER_LDFLAGS)
53 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
54 kernel-only_arm_CPPAFLAGS = $(kernel-only_arm_CPU_CPPAFLAGS) $(kernel-only_arm_WIZARD_CPPAFLAGS) $(kernel-only_arm_USER_CPPAFLAGS)
56 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
57 kernel-only_arm_CSRC = $(kernel-only_arm_CPU_CSRC) $(kernel-only_arm_WIZARD_CSRC) $(kernel-only_arm_USER_CSRC)
59 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
60 kernel-only_arm_PCSRC = $(kernel-only_arm_CPU_PCSRC) $(kernel-only_arm_WIZARD_PCSRC) $(kernel-only_arm_USER_PCSRC)
62 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
63 kernel-only_arm_CPPASRC = $(kernel-only_arm_CPU_CPPASRC) $(kernel-only_arm_WIZARD_CPPASRC) $(kernel-only_arm_USER_CPPASRC)
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 kernel-only_arm_CXXSRC = $(kernel-only_arm_CPU_CXXSRC) $(kernel-only_arm_WIZARD_CXXSRC) $(kernel-only_arm_USER_CXXSRC)
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 kernel-only_arm_ASRC = $(kernel-only_arm_CPU_ASRC) $(kernel-only_arm_WIZARD_ASRC) $(kernel-only_arm_USER_ASRC)
71 # CPU specific flags and options, defined in the CPU definition files.
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 kernel-only_arm_CPU_CPPAFLAGS = -O0 -g -gdwarf-2 -g
74 kernel-only_arm_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -fverbose-asm -Ibertos/cpu/arm/ -D__ARM_AT91SAM7X256__
75 kernel-only_arm_PROGRAMMER_CPU = at91sam7
76 kernel-only_arm_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
77 kernel-only_arm_CPU = arm7tdmi
78 kernel-only_arm_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
79 kernel-only_arm_CPU_CPPASRC = bertos/cpu/arm/hw/crtat91sam7_rom.S
80 kernel-only_arm_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
81 kernel-only_arm_CPU_LDFLAGS = -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld
82 kernel-only_arm_FLASH_SCRIPT = bertos/prg_scripts/arm/flash.sh