Re: [pok-devel] Userspace arinc653 calls |
[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]
POK_NEEDS_MIDDLEWAREPOK_NEEDS_BLACKBOARDS
Sorry for being a bit vague about my problem.I think it's best explained using an example. Take the following (condensed) .c file:
#include <arinc653/blackboard.h>
#define POK_NEEDS_ARINC653_BLACKBOARD 1void arinc653_example()
{
BLACKBOARD_ID_TYPE blackboard;
RETURN_CODE_TYPE ret;
CREATE_BLACKBOARD("RTEMS blackboard", 15, &blackboard, &ret);
}When trying to compile using a makefile that has build option --arinc653 and a model.aadl that's linked to the arinc653_example function it gives errors that suggest that the #include of arinc653/blackboard.h failed (i.e. unknown type BLACKBOARD_ID_TYPE and implicit declaration of function CREATE_BLACKBOARD).
Thanks,
JanekOn Thu, Jun 19, 2014 at 12:41 PM, Julien Delange <julien@xxxxxxxxx> wrote:
What do you mean by "no5 able to call"? Can you compile the code? If yes, what is the error at runtime? Did you configure the blackboards?The best approach would be to see the generated code from Ocarina and mimic it.
On Thu, Jun 19, 2014 at 4:06 AM, Janek van Oirschot <janekvoirschot@xxxxxxxxx> wrote:
Thanks for the response, Julien.I'm sorry but I think I have phrased my question wrong. I am working for RTEMS to get arinc653 calls from POK working on RTEMS.
I'm trying to use arinc653 calls on POK (without anything RTEMS included). When trying to include one of the arinc653 header files (e.g. arinc653/blackboard.h) I still am not able to call any of the the blackboard APEX calls.
Is it actually possible to call any of the arinc653 calls on userspace?On Wed, Jun 18, 2014 at 8:57 PM, Julien Delange <julien@xxxxxxxxx> wrote:
Julien.Dear Janek,Actually, the interface with RTEMS is not (yet) integrated in the main branch of POK.
I would recommend to contact the authors of the virtualizer project.
On Mon, Jun 16, 2014 at 11:21 AM, Janek van Oirschot <janekvoirschot@xxxxxxxxx> wrote:
JanekThanks in advance,So my question is whether it is actually possible to make arinc653 calls in (non-generated) user code? I have seen that arinc653 code is generated using the .aadl models but none of the arinc653 calls are actually called in userspace code. So could it be possible?Hello,I am trying to get arinc653 calls working on the RTEMS<->POK virtualizer project. I, however, am having trouble with getting arinc653 calls working within rtems.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |