From fa942802719497ad2808a453d6465076ec24f173 Mon Sep 17 00:00:00 2001 From: Daniel Hellstrom Date: Thu, 30 Nov 2017 13:59:11 +0100 Subject: leon3: build-cfg enables all errata work-arounds This update means that the defualt leon3 BSP build flags will enable all LEON3 devices errata work-arounds. The pre-compiled RTEMS kernel libraries will thus be compatible with UT699, GR712RC, UT700 and UT699E. As before, to generate faster code the leon3.cfg shuold be updated with the optimial settings for the target deviuce and RTEMS kernel rebuilt. --- c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg index d922cb7404..48f125b551 100644 --- a/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg +++ b/c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg @@ -11,7 +11,7 @@ RTEMS_CPU_MODEL=leon3 # This contains the compiler options necessary to select the CPU model # and (hopefully) optimize for it. -CPU_CFLAGS = -mcpu=cypress -msoft-float -mtune=ut699 +CPU_CFLAGS = -mcpu=cypress -msoft-float -mtune=ut699 -mfix-ut700 -mfix-gr712rc # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g -- cgit v1.2.3