Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

HAL usleep compile error, function not found

Altera_Forum
Honored Contributor II
1,406 Views

I'm developing a standalone system (no OS), using the NIOS2 hardware abstraction layer (HAL). Calls to usleep fail compilation - undefined reference. 

 

My project folders show "altera components" with "Newlib C Library". I've included <unistd.h>. What have I missed? 

 

NIOS2 IDE Version: 9.0SP2 Build: 235 

 

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
664 Views

Do you have a system timer defined in your SOPC project?

0 Kudos
Reply