PULP Community
Getting input from console - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: Getting input from console (/showthread.php?tid=239)



Getting input from console - nayan - 02-19-2021

Scanf, gets, getchar etc. are showing undefined reference error while compiling a program using pulp-sdk. Is there anyway to get input from console?


RE: Getting input from console - chikku - 02-21-2021

(02-19-2021, 05:33 AM)nayan Wrote: Scanf, gets, getchar etc. are showing undefined reference error while compiling a program using pulp-sdk. Is there anyway to get input from console?

Hi,
I'm also facing the same issue.. Can anyone please help?


RE: Getting input from console - meggiman - 02-23-2021

Hi nayan, chikku,

As far as I know, there is no implementation of those functions in the pulp-sdk or pulp-runtime. If you need input from a console I would suggest you to directly use the UART drivers of the pulp-sdk or pulp-runtime to receive external inputs.

Best,
Manuel


RE: Getting input from console - nayan - 02-25-2021

Thank you for your reply meggiman