#include <stdio.h> #include "platform.h" #include "xil_printf.h" int main() { init_platform(); print("Hello World\n\r"); setvbuf(stdin, NULL, _IONBF, 0); for (;;) { char input = getchar(); if (input != EOF) xil_printf("%c", input); } cleanup_platform(); return 0; }