xil_printf and XUartLite_SendByte
问题 Why does xil_printf cause a stack overflow and XUartLite_SendByte does not? Can anyone explain this? The commented section(XUartLite_SendByte) works fine, but eventually i would like to call a function on i and return the result using xil_printf. The code is shown below. microblaze using xilinx sdk #include <stdio.h> /*#include "xparameters.h" */ #include "xil_cache.h" /*#include "uartlite_header.h" #include "xbasic_types.h" #include "xgpio.h" #include "gpio_header.h" #include "xspi.h"