AnsweredAssumed Answered

assign printf to bitbucket

Question asked by Robert Lewis on Apr 8, 2013
Latest reply on Apr 10, 2013 by Teckna Teckna



I am getting debugging printf statements on the serial port I use for a BT connection. Which really confuses the BT module. Is there anyway to build the bsp to direct printf to a bitbucket or NULL device?


I tried assigning the default

#define BSP_DEFAULT_IO_CHANNEL              "ttyb:"         //  change so printf's not going on BT channel, ittya


but that didn't work.


I have read that termio.c has something to do with this, but I can't find it.


Under 3.8.1 I commented out all the printf's or I could make a dummy function printff and do a global change. But then this has to be done for every upgrade... which is a pain.


Any suggestions would be gratefully accepted.