<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">my task is the init task. I tryed to
configure it by insert<br>
<br>
<small>#define</small> <span style="color: rgb(0, 0, 0);
font-family: monospace, Courier; font-size: 13px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 19.1875px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(249, 249,
249); display: inline !important; float: none;">CONFIGURE_INIT_TASK_ATTRIBUTES
RTEMS_FLOATING_POINT</span><br>
<br>
before including confdefs.h but nothing happens.<br>
Is my configuration correct?<br>
<br>
Luca<br>
<br>
Il 19/11/2013 18:45, Gedare Bloom ha scritto:<br>
</div>
<blockquote
cite="mid:CAC82fA0dBJFrfnqbdgPGHe2GH6Vum965EbAQj7y2bXzaXPVxgg@mail.gmail.com"
type="cite">
<pre wrap="">Is your task created with RTEMS_FLOATING_POINT attribute?
-Gedare
On Tue, Nov 19, 2013 at 12:24 PM, Luca Cinquepalmi
<a class="moz-txt-link-rfc2396E" href="mailto:cinquepalmi@planetek.it"><cinquepalmi@planetek.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I have the following problem.
I've declared the following structure
struct str {
int a;
int b;
float arr[2]
}
in my Init task I declared:
struct *str mystr;
mystr = (str*)calloc(1, sizeof(*mystr)
mystr -> a = 1;
mystr -> b = 2;
mystr -> arr[0] = 1.2;
mystr -> arr[1] = 2.1;
When i plot my value a trap error occours and no valu
is plotted
If my array is of int, all goes good.
Is there a particular problem for float array in structures
with RTEMS? thanks.
Luca
Il 19/11/2013 12:06, Sebastian Huber ha scritto:
On 2013-11-19 11:56, Leonard Bise wrote:
Am I correct in thinking that this section of the RTEMS doc :
<a class="moz-txt-link-freetext" href="http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/Multiprocessing-Manager.html#Multiprocessing-Manager">http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/Multiprocessing-Manager.html#Multiprocessing-Manager</a>
Talks about what I want or is that something else entirely? I'm a bit loss
with
your comment about multiprocessing support in RTEMS Sebastian.
RTEMS_MULTIPROCESSING:
Independent single-processor RTEMS instances share global objects. State
changes are exchanged by means of message passing.
RTEMS_SMP:
One symmetric multi-processor RTEMS instance runs on multiple processors.
_______________________________________________
rtems-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>