* 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.
This commit is contained in:
Thomas Doerfler
2009-02-27 11:26:44 +00:00
parent 92cbf96514
commit 9647f7feac
23 changed files with 637 additions and 126 deletions

View File

@@ -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