On Fri, Nov 30, 2007 at 04:35:01PM -0300, Eduardo Sabaj wrote: > Andrew, thank you for your answer.. I made the changes that you suggested, > I added two more serial ports, but what happens with the > CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro? Is it enough to change its > limit to 5 or should I change any other file?
So long as you don't need to use the serial ports from RedBoot, this is all you need to do. You should now have /dev/ser[0-3] which you can open with fopen() etc. If you need to layer tty or termio on top, you will also need to extend the number of tty & termio devices, but it is a very similar change which im sure you can work out for yourself with a bit of grep'ing. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
