From 5485a4d7032416372cf5317048f437439dd9d595 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 4 Dec 2008 22:56:09 +0000 Subject: 2008-12-04 Jukka Pietarinen * Makefile.am: Add Lattice Mico32 support. * custom/lm32_evr.cfg: New file. --- make/ChangeLog | 5 +++++ make/Makefile.am | 3 ++- make/custom/lm32_evr.cfg | 30 ++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 make/custom/lm32_evr.cfg diff --git a/make/ChangeLog b/make/ChangeLog index bc29ce35b5..e0a949fbb9 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,3 +1,8 @@ +2008-12-04 Jukka Pietarinen + + * Makefile.am: Add Lattice Mico32 support. + * custom/lm32_evr.cfg: New file. + 2008-11-20 Joel Sherrill * custom/avrtest.cfg: New file. diff --git a/make/Makefile.am b/make/Makefile.am index 660c50efbb..0f90736a8e 100644 --- a/make/Makefile.am +++ b/make/Makefile.am @@ -26,7 +26,8 @@ EXTRA_DIST += custom/Cygwin-posix.cfg custom/FreeBSD-posix.cfg \ custom/gen68340.cfg custom/gen68360.cfg custom/gen68360_040.cfg \ custom/h8sim.cfg custom/h8sxsim.cfg custom/uC5282.cfg custom/gba.cfg \ custom/gensh1.cfg custom/helas403.cfg custom/i386ex.cfg custom/idp.cfg \ - custom/jmr3904.cfg custom/leon2.cfg custom/mcp750.cfg \ + custom/jmr3904.cfg custom/leon2.cfg custom/lm32_evr.cfg \ + custom/mcp750.cfg \ custom/mvme136.cfg custom/mvme147.cfg custom/mvme147s.cfg \ custom/mvme162.cfg custom/mvme162lx.cfg custom/mvme167.cfg \ custom/mvme2100.cfg custom/mvme2307.cfg custom/no_bsp.cfg \ diff --git a/make/custom/lm32_evr.cfg b/make/custom/lm32_evr.cfg new file mode 100644 index 0000000000..c33644c67a --- /dev/null +++ b/make/custom/lm32_evr.cfg @@ -0,0 +1,30 @@ +# +# Config file for the lm32_evr BSP +# + +# Choices for CPU_MODEL: +# tiny (no cache) +# standard (instruction cache) +# fast (instruction and data cache) + +RTEMS_CPU = lm32 +RTEMS_CPU_MODEL = lm32 + +include $(RTEMS_ROOT)/make/custom/default.cfg + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY = lm32_evr + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = + +# optimize flag: typically -O2 +# ATM, doesn't work with optimization levels > 0 +CFLAGS_OPTIMIZE_V = -O0 -g + +define bsp-post-link + $(OBJCOPY) -O binary --strip-all $(basename $@).exe \ + -R entry -R exceptions $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef -- cgit v1.2.3