PULP Community

Full Version: Getting input from console
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Scanf, gets, getchar etc. are showing undefined reference error while compiling a program using pulp-sdk. Is there anyway to get input from console?
(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?
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
Thank you for your reply meggiman