2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>

* Makefile.am: Add Lattice Mico32 support.
	* custom/lm32_evr.cfg: New file.
This commit is contained in:
Joel Sherrill
2008-12-04 22:56:09 +00:00
parent 74c6f36dc8
commit 5485a4d703
3 changed files with 37 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* Makefile.am: Add Lattice Mico32 support.
* custom/lm32_evr.cfg: New file.
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/avrtest.cfg: New file.
+2 -1
View File
@@ -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 \
+30
View File
@@ -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