Hello Xenomai. I use Xenimai 2.4.3 and Linux 2.6.24 on an AT91SAM9260 processor based on ARM926EJ-S. My problem is that the code snippet below gives an error -2. As you can see, I have tried different HEAP_MODE values.
Earlier, I used the code on x86 without problem. Hope, you can help me. Regards Hans So RT_HEAP aheap; #define HEAP_SIZE (4*1024) #define HEAP_MODE 0 //H_SINGLE //H_MAPPABLE // have tried different constants err = rt_heap_create (&aheap, "MyHeap", HEAP_SIZE, HEAP_MODE); if (err) { printf ("[3] rt heap create error: %d \n", err); catch_signal (2); // Ctrl-c: cleanup and exit }
_______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help