[GSOC] How to enable floating point? (Deb)

Xiaochen Pan panx at seas.upenn.edu
Tue Jun 26 03:50:35 UTC 2012


Can rtems_task_create() be used at the same time of main() function and without rtems_task_initiate()? Does it have any example written in this way?

On Jun 25, 2012, at 3:18 AM, Sebastian Huber wrote:

> You have to set the floating point attribute in rtems_task_create().  For the initialization task use CONFIGURE_INIT_TASK_ATTRIBUTES.
> 
> On 06/25/2012 03:03 AM, Xiaochen Pan wrote:
>> Hi,
>> 
>> I got this message when running some code:
>> 
>> Unexpected trap ( 4) at address 0x020051EC
>> fp disabled
>> 
>> 
>> It says floating point being disabled. Can I enable floating point operation?
>> Does this property apply to all BSPs? What I can do about it?
>> 
>> regards,
>> xiaochen
>> 
>> 
>> 
>> _______________________________________________
>> rtems-devel mailing list
>> rtems-devel at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-devel
> 
> 
> -- 
> Sebastian Huber, embedded brains GmbH
> 
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
> Phone   : +49 89 18 90 80 79-6
> Fax     : +49 89 18 90 80 79-9
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list