We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I m using printf and commenting scanf the code is working fine but when i uncomment the scanf it shows the following error:
.\Obj\Hello.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but a semihosting fgetc was linked in
the setting for UART I set are
/* initialize the serial interface */ PINSEL0 = 0x00050000; /* Enable RxD1 and TxD1 */ U1LCR = 0x83; /* 8 bits, no Parity, 1 Stop bit */ U1DLL = 20; /* 9600 Baud Rate @ 15MHz VPB Clock */ U1LCR = 0x03; /* DLAB = 0 */
Please help me out