X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Flpc2378%2Flpc2378_wiz.mk;fp=examples%2Flpc2378%2Flpc2378_wiz.mk;h=f92dab6f3f0f968261baaae2cdde350bca4f8131;hb=ab067bd420a6e48b25d66444d97ee229b48bcb23;hp=0000000000000000000000000000000000000000;hpb=8284fb65c8c8f9fd233da33fd08f1f81b64cb94b;p=bertos.git diff --git a/examples/lpc2378/lpc2378_wiz.mk b/examples/lpc2378/lpc2378_wiz.mk new file mode 100644 index 00000000..f92dab6f --- /dev/null +++ b/examples/lpc2378/lpc2378_wiz.mk @@ -0,0 +1,82 @@ +# +# Copyright 2009 Develer S.r.l. (http://www.develer.com/) +# All rights reserved. +# +# Makefile template for BeRTOS wizard. +# +# Author: Lorenzo Berni +# +# + +# Constants automatically defined by the selected modules +lpc2378_DEBUG = 1 + +# Our target application +TRG += lpc2378 + +lpc2378_PREFIX = "arm-none-eabi-" + +lpc2378_SUFFIX = "" + +# Files automatically generated by the wizard. DO NOT EDIT, USE lpc2378_USER_CSRC INSTEAD! +lpc2378_WIZARD_CSRC = \ + bertos/mware/hex.c \ + bertos/mware/formatwr.c \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE lpc2378_USER_PCSRC INSTEAD! +lpc2378_WIZARD_PCSRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE lpc2378_USER_CPPASRC INSTEAD! +lpc2378_WIZARD_CPPASRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE lpc2378_USER_CXXSRC INSTEAD! +lpc2378_WIZARD_CXXSRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE lpc2378_USER_ASRC INSTEAD! +lpc2378_WIZARD_ASRC = \ + \ + # + +lpc2378_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -Iexamples/lpc2378/ $(lpc2378_CPU_CPPFLAGS) $(lpc2378_USER_CPPFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_LDFLAGS = $(lpc2378_CPU_LDFLAGS) $(lpc2378_WIZARD_LDFLAGS) $(lpc2378_USER_LDFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_CPPAFLAGS = $(lpc2378_CPU_CPPAFLAGS) $(lpc2378_WIZARD_CPPAFLAGS) $(lpc2378_USER_CPPAFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_CSRC = $(lpc2378_CPU_CSRC) $(lpc2378_WIZARD_CSRC) $(lpc2378_USER_CSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_PCSRC = $(lpc2378_CPU_PCSRC) $(lpc2378_WIZARD_PCSRC) $(lpc2378_USER_PCSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_CPPASRC = $(lpc2378_CPU_CPPASRC) $(lpc2378_WIZARD_CPPASRC) $(lpc2378_USER_CPPASRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_CXXSRC = $(lpc2378_CPU_CXXSRC) $(lpc2378_WIZARD_CXXSRC) $(lpc2378_USER_CXXSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_ASRC = $(lpc2378_CPU_ASRC) $(lpc2378_WIZARD_ASRC) $(lpc2378_USER_ASRC) + +# CPU specific flags and options, defined in the CPU definition files. +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +lpc2378_CPU_CPPASRC = bertos/cpu/arm/hw/crt_arm7tdmi.S bertos/cpu/arm/hw/vectors_lpc2.S +lpc2378_CPU_CPPAFLAGS = -g -gdwarf-2 +lpc2378_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -fverbose-asm -Ibertos/cpu/arm/ -D__ARM_LPC2378__ +lpc2378_CPU_CSRC = bertos/cpu/arm/hw/init_lpc2.c +lpc2378_PROGRAMMER_CPU = lpc2378 +lpc2378_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +lpc2378_CPU = arm7tdmi +lpc2378_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +lpc2378_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh +lpc2378_CPU_LDFLAGS = -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/arm/scripts/lpc2378.ld +lpc2378_FLASH_SCRIPT = bertos/prg_scripts/arm/flash.sh