Nios II Eclipse stuck while compiling newlib for a smallc C library
I am building an example project for Nios II soft core processor. The example project is board_diag , which seems to show how to interface with peripherals using Nios II processor. I couldn't find documentation that would explain all the custom functions that are out there to use with Nios II processor so going of example code (would appreciate if someone knows/can share links to programming guide for Nios).
Anyway, when building example code project compiler gets stuck at building newlib for a smallc C library. It is pretty consistent with getting stuck at 27%. See image attached. If I hit cancel and then build the bsp project again, the build process happens quickly. However, when I go to build actual project I get an error that getc and sscanf functions are undefined. I try fixing it by manual adding path to the libraries Properties -> C/C++ General -> Paths and Symbols -> Add then I add path. Anyway the error is still there when building the project. I am out of ideas. Any suggestions on how to resolve this issue?