X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Finfo%2FLPC2378.cdef;fp=bertos%2Fcpu%2Farm%2Finfo%2FLPC2378.cdef;h=461ee209f381977c85a7ec5fde6fd26f05984859;hb=8284fb65c8c8f9fd233da33fd08f1f81b64cb94b;hp=0000000000000000000000000000000000000000;hpb=3d80d429ffc2ba832bc829c761c577b3693b1fa6;p=bertos.git diff --git a/bertos/cpu/arm/info/LPC2378.cdef b/bertos/cpu/arm/info/LPC2378.cdef new file mode 100644 index 00000000..461ee209 --- /dev/null +++ b/bertos/cpu/arm/info/LPC2378.cdef @@ -0,0 +1,56 @@ +# +#-*- coding: utf-8 -*- +# +# \file +# +# +# General CPU info denfinition for NXP LPC2 family. +# +# This file contain all info for the BeRTOS wizard. +# +# \author Francesco Sacchi +# +# + +# Import the common settings for the lpc2xxx family. +include("lpc2.common") + +# Short description of the cpu. +CPU_DESC += [ "512 Kbytes internal flash memory", + "32 Kbytes internal SRAM memory" ] + +# GCC flags for this cpu. +MK_CPU_CPPFLAGS += " -D__ARM_LPC2378__" +MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "lpc2378.ld" + +# CPU type used for flashing/debugging +MK_PROGRAMMER_CPU = "lpc2378" +