<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">Hi all,<br>
I have the following problem.<br>
<br>
I've declared the following structure<br>
<br>
<small>struct str {<br>
int a;<br>
int b;<br>
float arr[2]<br>
}</small><br>
<br>
in my Init task I declared:<br>
<br>
<small>struct *str mystr;<br>
mystr = (str*)calloc(1, sizeof(*mystr)<br>
mystr -> a = 1;<br>
mystr -> b = 2;<br>
mystr -> arr[0] = 1.2;<br>
mystr -> arr[1] = 2.1;</small><br>
<br>
When i plot my value a trap error occours and no valu<br>
is plotted<br>
If my array is of int, all goes good.<br>
Is there a particular problem for float array in structures<br>
with RTEMS? thanks.<br>
<br>
Luca<br>
<br>
<br>
<br>
Il 19/11/2013 12:06, Sebastian Huber ha scritto:<br>
</div>
<blockquote cite="mid:528B4652.6080505@embedded-brains.de"
type="cite">On 2013-11-19 11:56, Leonard Bise wrote:
<br>
<blockquote type="cite">Am I correct in thinking that this section
of the RTEMS doc :
<br>
<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>
<br>
<br>
Talks about what I want or is that something else entirely? I'm
a bit loss with
<br>
your comment about multiprocessing support in RTEMS Sebastian.
<br>
</blockquote>
<br>
RTEMS_MULTIPROCESSING:
<br>
<br>
Independent single-processor RTEMS instances share global
objects. State changes are exchanged by means of message passing.
<br>
<br>
RTEMS_SMP:
<br>
<br>
One symmetric multi-processor RTEMS instance runs on multiple
processors.
<br>
<br>
</blockquote>
<br>
</body>
</html>