Hi all,
I'm new to the Zedboard, running through the 14.3 CTT tutorial, and I've encountered two problems:
1) Section 3.1.2 - The application code does not compile without error:
../src/helloworld.c:39:6: error: conflicting types for 'print'
../../Hello_world_bsp/ps7_cortexa9_0/include/xil_printf.h:39:6: note: previous declaration of 'print' was here
make: *** [src/helloworld.o] Error 1
To compile, the following line must be removed/commented:
void print(char *str);
2) The expanded Helloworld.c example contained in Appendix A crashes when run on hardware (within the SDK). After an open is selected (pressing '1' for example), a popup Terminal Error message appears :"IO Error! Bad file descriptor in nativeDrain"
##### Application Starts #####
SELECT the Operation from the Below Menu
###################### Menu Starts ########################
Press '1' to use NORMAL GPIO as an input (BTNU switch)
Press '2' to use EMIO as an input (BTNR switch)
Press any other key to Exit
##################### Menu Ends #########################
Selection : 1
Press Switch 'BTNU' push button on
Bad file descriptor in nativeDrain
board
I haven't found a resolution yet to the nativeDrain error. Has anyone encountered similar issues? I've tried this on two PC's (Win7), same result.