added BSP for ARM LPC24xx

This commit is contained in:
Thomas Doerfler
2008-09-22 11:50:19 +00:00
parent 8dcfc0a88e
commit fd1c1c9506
5 changed files with 35 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Added defines for
LPC2478 BSP.
2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* README.configure: Updated list of BSPs.

View File

@@ -36,6 +36,7 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
hsc_cm01) $2=gen83xx ;; # MPC8349 based board
mpc8313erdb) $2=gen83xx ;; # MPC83XX based board
rtl22xx_t) $2=rtl22xx ;; # rtl22xx bsp in thumb mode
lpc2478) $2=lpc24xx ;; # LPC2478 (QVGA Base Board from Embedded Artists)
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
simsh7032) $2=shsim ;; # SH7032 simulator
simsh7045) $2=shsim ;; # SH7045 simulator

View File

@@ -34,6 +34,7 @@ AC_MSG_CHECKING([for available BSPs])
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
erc32) bsps="erc32 sis";;
rtl22xx) bsps="rtl22xx rtl22xx_t)";;
lpc24xx) bsps="lpc2478";;
sim68000) bsps="sim68000 simcpu32";;
shsim) bsps="simsh7032 simsh7045";;
*) bsps="$bsp_family";;

View File

@@ -1,3 +1,7 @@
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* custom/lpc2478.cfg: New file.
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/ep1a.cfg, custom/mtx603e.cfg, custom/mvme2100.cfg,

24
make/custom/lpc2478.cfg Normal file
View File

@@ -0,0 +1,24 @@
#
# Config file for LPC2478 (QVGA Base Board from Embedded Artists).
#
# $Id$
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = arm
RTEMS_BSP_FAMILY = lpc24xx
RTEMS_BOARD_MODEL = LPC2478
CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame \
-D$(RTEMS_BOARD_MODEL) \
-Wextra -Wno-unused -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes
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