[PATCH] TMS570: Enable FPU in makefile.

Martin Galvan martin.galvan at tallertechnologies.com
Fri Mar 27 12:31:55 UTC 2015


On Thu, Mar 26, 2015 at 6:46 PM, Pavel Pisa <pisa at cmp.felk.cvut.cz> wrote:
> Hello Martin,
>
> this is the right and planned change.
>
> What are your results of testing the BSP?
> Are there some stability issues or your combination
> with HALcogen code and FPU passes tests suites.
>

Thanks for the feedback. From what we saw this works fine as long as
you also use these patches:

https://git.rtems.org/rtems/commit?id=dc9aaf7ced34501d7647a86b4c626c9cc056db01
https://git.rtems.org/rtems/commit?id=991fdb330be81c5cfb47f67fd032569809db6c41

These enable the FPU and initialize the core and FP registers, which
is needed by the TMS570's CCM.

>
> On Thursday 26 of March 2015 21:21:26 Martin Galvan wrote:
>> ---
>>  c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk.cfg | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk.cfg
>> b/c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk.cfg index
>> e90414a..869cf71 100644
>> --- a/c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk.cfg
>> +++ b/c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk.cfg
>> @@ -6,7 +6,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
>>
>>  RTEMS_CPU = arm
>>
>> -CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian
>> +CPU_CFLAGS = -march=armv7-r -mthumb -mbig-endian -mfpu=vfpv3-d16
>> -mfloat-abi=hard
>>
>>  CFLAGS_OPTIMIZE_V = -O2 -ggdb
>>  BINEXT?=.bin



-- 


Martin Galvan

Software Engineer

Taller Technologies Argentina


San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina

Phone: 54 351 4217888 / +54 351 4218211



More information about the devel mailing list