On Mon, Jul 13, 2009 at 8:54 AM, Daniel Saltmann <[email protected]> wrote: > > John Dallaway schrieb: > > There are various compiler flags missing in the above line. Try building > > the example code using the supplied makefile. Something like: > > > > cd ecos-3.0/examples > > make hello INSTALL_DIR=../../daniel1_install > > > > Output should be to the zeroth serial port by default (equivalent to > > /dev/ttyS0 on Linux or COM1 on Windows). > > > > John Dallaway > > Thanks for your reply, but this was not the problem. It works also with > my simple gcc-call. Maybe I made a mistake watching the serial ports > because I never saw activity from ecos there. > > Finally it works with the pc screen, setting "Diagnostic serial port" to > "Number of communication channels on the board" - 1.
Daniel, Did print outs appear on your pc screen with printf() or did it only work with diag_printf()? Thanks, Mike -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
