Niklaus Giger wrote: > Hi > > To document basic Xenomai/Linux patterns I developed the attached small > example for our PPC405 board, which just rolls the 8 debug LEDs. > > Are there any comments about it?
I like the idea of having useful generic code patterns like this in the examples repos. But I also have a few wishes regarding this particular one: * I would prefer that generic patterns are coded against POSIX or maybe Native, not against a special RTOS skin (not everyone know the VxWorks API by heart ;) ). * Try to make use of as less additional patterns beyond the core aspect as possible. E.g., running the lights in main would avoid quite some code for init/cleanup. This helps the reader to grab the essence of the demo. Still, the demo should remain functional! * Please format your code according to kernel style (could be any style, but we need a standard, so pick that one) > > Shall I put it into the Wiki at http://www.xenomai.org/index.php/Examples or > does somebody want to commit it to the examples part of the subversion trunk? I would happily merge a cleaned up version into the repos, e.g. under the related skin. Thanks, Jan PS: If you want to contribute VxWorks-specific code pattern, you are welcome as well!
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
