Hi Paul
I prefer to start with a copy of the demo project - see section 2 of
http://www.utasker.com/docs/uTasker/uTaskerV1.4_user_guide.PDF for how to do this.
Then strip out all that is not needed, ensuring that the stuff left still compiles and runs correctly (I strip out in small steps as the project continues, accepting that there may be a lot of unused stuff at the beginning, which shouldn't otherwise disturb). Note that it is often useful to remove
fnInitialisePorts() from
application.c so that it doesn't unexpectedly configure ports when starting on a new design.
Specifically I find that
application.c serves as a good basis since it handles parameters (these are often useful, even when not always planned at the start of a project). It is a place to also start other things in a central manner too.
To stop debug messages going to serial or TELNET make sure that
DebugHandle is never written to a different value. Its default value is
NETWORK_HANDLE, which means that all debug output passes through
fnNetworkTx() - this is in
debug.c and text is sent to TELNET when it is connected. Simply remove
fnSendBufTCP() from this function and return 0.
Regards
Mark