If I change the
static void read(struct __comp_state *inst){
to
FUNCTION(read)
and declare
function read;
before the ;;
It seems to sort of work
I can show pin mesa-7i65.0.* and see the analogue in value fluctuating
slightly (i have not put a voltage on them yet)
Is there a way of getting it working down this road; Any pointers would
be appreciated
On 30/08/2012 08:34, William Ratcliffe wrote:
> No crash prior to 'start'
>
> On 29/08/2012 23:45, andy pugh wrote:
>> On 29 August 2012 22:49, andy pugh <[email protected]> wrote:
>>
>>> It looks like *CPLD_write is an initialised pointer, and that is bad.
>>>
>>> I am trying to comp the mesa_7i65 file to see if the c-code
>>> initialises the pointers.
>>> Curiously I am being told that a realtime component must include at
>>> least one function. Which is not meant to be the case any more.
>> Well, that last problem was not running the rip-environment script first.
>> As for the segfault problem, I am a bit stumped, as the struct is
>> malloc-ed in the generated C and it worked for Cliff (who actually
>> wrote most of the .comp file)
>>
>> Also, there is a surprising lack of info in the dmesg considering that
>> it has supposedly got as far as the "read" function.
>>
>> Does it still crash without the "start" in the HAL?
>>
>>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users