diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-09-22 11:50:19 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-09-22 11:50:19 +0000 |
commit | fd1c1c95061e79707c262eee21106ac71b014c75 (patch) | |
tree | 83f7ee7fc543633a15d4573bce6fe781a2d591d8 /make/custom | |
parent | *** empty log message *** (diff) | |
download | rtems-fd1c1c95061e79707c262eee21106ac71b014c75.tar.bz2 |
added BSP for ARM LPC24xx
Diffstat (limited to '')
-rw-r--r-- | make/custom/lpc2478.cfg | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/make/custom/lpc2478.cfg b/make/custom/lpc2478.cfg new file mode 100644 index 0000000000..90929506de --- /dev/null +++ b/make/custom/lpc2478.cfg @@ -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 |