diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 12:12:08 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 12:12:08 +0000 |
commit | 949166d6c0436afba8b78420e6ef64a9719b9fca (patch) | |
tree | bddb49ca14eee7ead6f97311663185c1f99c1503 /make | |
parent | 9647f7feac36cc41c25b852eb8ecdd728b5486d1 (diff) |
added missing files
Diffstat (limited to 'make')
-rw-r--r-- | make/custom/lpc2478_ncs.cfg | 14 | ||||
-rw-r--r-- | make/custom/lpc2478_ncs_ram.cfg | 14 | ||||
-rw-r--r-- | make/custom/lpc24xx.cfg | 18 |
3 files changed, 46 insertions, 0 deletions
diff --git a/make/custom/lpc2478_ncs.cfg b/make/custom/lpc2478_ncs.cfg new file mode 100644 index 0000000000..f826757f9e --- /dev/null +++ b/make/custom/lpc2478_ncs.cfg @@ -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 diff --git a/make/custom/lpc2478_ncs_ram.cfg b/make/custom/lpc2478_ncs_ram.cfg new file mode 100644 index 0000000000..ae514d45cd --- /dev/null +++ b/make/custom/lpc2478_ncs_ram.cfg @@ -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 diff --git a/make/custom/lpc24xx.cfg b/make/custom/lpc24xx.cfg new file mode 100644 index 0000000000..41c40302a4 --- /dev/null +++ b/make/custom/lpc24xx.cfg @@ -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) |