forked from Imagelibrary/rtems
added BSP for ARM LPC24xx
This commit is contained in:
@@ -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>
|
2008-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* README.configure: Updated list of BSPs.
|
* README.configure: Updated list of BSPs.
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ AC_DEFUN([_RTEMS_BSP_ALIAS],
|
|||||||
hsc_cm01) $2=gen83xx ;; # MPC8349 based board
|
hsc_cm01) $2=gen83xx ;; # MPC8349 based board
|
||||||
mpc8313erdb) $2=gen83xx ;; # MPC83XX based board
|
mpc8313erdb) $2=gen83xx ;; # MPC83XX based board
|
||||||
rtl22xx_t) $2=rtl22xx ;; # rtl22xx bsp in thumb mode
|
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
|
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
|
||||||
simsh7032) $2=shsim ;; # SH7032 simulator
|
simsh7032) $2=shsim ;; # SH7032 simulator
|
||||||
simsh7045) $2=shsim ;; # SH7045 simulator
|
simsh7045) $2=shsim ;; # SH7045 simulator
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ AC_MSG_CHECKING([for available BSPs])
|
|||||||
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
|
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
|
||||||
erc32) bsps="erc32 sis";;
|
erc32) bsps="erc32 sis";;
|
||||||
rtl22xx) bsps="rtl22xx rtl22xx_t)";;
|
rtl22xx) bsps="rtl22xx rtl22xx_t)";;
|
||||||
|
lpc24xx) bsps="lpc2478";;
|
||||||
sim68000) bsps="sim68000 simcpu32";;
|
sim68000) bsps="sim68000 simcpu32";;
|
||||||
shsim) bsps="simsh7032 simsh7045";;
|
shsim) bsps="simsh7032 simsh7045";;
|
||||||
*) bsps="$bsp_family";;
|
*) bsps="$bsp_family";;
|
||||||
|
|||||||
@@ -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>
|
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* custom/ep1a.cfg, custom/mtx603e.cfg, custom/mvme2100.cfg,
|
* custom/ep1a.cfg, custom/mtx603e.cfg, custom/mvme2100.cfg,
|
||||||
|
|||||||
24
make/custom/lpc2478.cfg
Normal file
24
make/custom/lpc2478.cfg
Normal 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
|
||||||
Reference in New Issue
Block a user