summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 11:26:44 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-02-27 11:26:44 +0000
commit9647f7feac36cc41c25b852eb8ecdd728b5486d1 (patch)
tree3b331d67718faf43d1c38e7896cb2be5f108d328 /make
parent * bsp_specs: Added crtbegin.o and crtend.o to support global C++ (diff)
downloadrtems-9647f7feac36cc41c25b852eb8ecdd728b5486d1.tar.bz2
* README: Added NCS.
* Makefile.am, configure.ac, preinstall.am: Added BSP variants. * console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed register settings. Cleanup. * include/bsp.h: Added network defines and functions. * include/lpc24xx.h: Added AHB and EMC defines. Fixed Ethernet status sizes. * include/system-clocks.h, misc/system-clocks.c: Added micro seconds delay function that uses Timer 1. Changed PLL setup. * network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478, startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New files. * startup/bspstart.c: Added EMC initialization. Changes for ROM boot.
Diffstat (limited to 'make')
-rw-r--r--make/custom/lpc2478.cfg23
1 files changed, 8 insertions, 15 deletions
diff --git a/make/custom/lpc2478.cfg b/make/custom/lpc2478.cfg
index ceb6d28ede..7db495c51b 100644
--- a/make/custom/lpc2478.cfg
+++ b/make/custom/lpc2478.cfg
@@ -4,20 +4,13 @@
# $Id$
#
-include $(RTEMS_ROOT)/make/custom/default.cfg
+LPC24XX_LINKCMDS = linkcmds.lpc2478
-RTEMS_CPU = arm
-RTEMS_BSP_FAMILY = lpc24xx
+include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
-CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
-
-CFLAGS_OPTIMIZE_V = -Os -g
-
-define bsp-post-link
- $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
- gzip -f -9 '$(basename $@).bin'
- # mkimage -A arm -O rtems -T kernel -C gzip \
- # -a a0000000 -e a0000000 -name '$(notdir $@)' \
- # -d '$(basename $@).bin.gz' '$(basename $@).img'
- $(default-bsp-post-link)
-endef
+# define bsp-post-link
+# $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
+# gzip -f -9 '$(basename $@).bin'
+# mkimage -A arm -O rtems -T kernel -C gzip -a a0000000 -e a0000040 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
+# $(default-bsp-post-link)
+# endef