There are dozens of calls to FreeRTOS_debug_printf() that are not bounded by #if, even though in the comments/directions of FreeRTOSIPConfig.h, we have the following at line 84:
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to
1 then FreeRTOS_debug_printf should be defined to the function used to print
out the debugging messages. */
#define ipconfigHAS_DEBUG_PRINTF 0
#if ipconfigHAS_DEBUG_PRINTF == 1
#define FreeRTOS_debug_printf xil_printf
#endif
(My xil_printf() is not threadsafe, and causes bus exceptions when called, so I’m trying to run without the IP stack making these calls. It seems like they should all be bounded by the above-mentioned #if
Yes. I get dozens of compile errors about FreeRTOS_debug_printf not defined. Also, it seems like the two FreeRTOS_printf and FreeRTOS_debug_printf are used interchangeably in some areas of the IP stack code.