forked from Imagelibrary/rtems
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user