added missing files

This commit is contained in:
Thomas Doerfler
2009-02-27 12:12:08 +00:00
parent 9647f7feac
commit 949166d6c0
9 changed files with 1676 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#
# Config file for LPC2478 (NCS).
#
# $Id$
#
LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs
include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
define bsp-post-link
$(OBJCOPY) -O ihex '$@' '$(basename $@).hex'
$(default-bsp-post-link)
endef

View File

@@ -0,0 +1,14 @@
#
# Config file for LPC2478 (NCS, code and data in external RAM).
#
# $Id$
#
LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs_ram
include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
define bsp-post-link
$(OBJCOPY) -S '$@' '$(basename $@).elf'
$(default-bsp-post-link)
endef

18
make/custom/lpc24xx.cfg Normal file
View File

@@ -0,0 +1,18 @@
#
# Config file for LPC24XX.
#
# $Id$
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = arm
RTEMS_BSP_FAMILY = lpc24xx
CPU_CFLAGS = -mcpu=arm7tdmi-s -mstructure-size-boundary=8 -mapcs-frame \
-Wextra -Wno-unused -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -fno-inline
CFLAGS_OPTIMIZE_V = -Os -g
LDFLAGS += -qnolinkcmds -T $(LPC24XX_LINKCMDS)