From 9647f7feac36cc41c25b852eb8ecdd728b5486d1 Mon Sep 17 00:00:00 2001 From: Thomas Doerfler Date: Fri, 27 Feb 2009 11:26:44 +0000 Subject: * 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. --- make/custom/lpc2478.cfg | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'make/custom') 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 -- cgit v1.2.3