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++
12600 Discussions

using lwip functions in raw.h/c

Altera_Forum
Honored Contributor II
980 Views

I want to use the fucntions in the stand alone lwip raw.h/c file but cannot get them to work. I created a project using the lwip web server as the template and then modified that to try and create several functions which use the fucntions defined in raw.h/c. THen when I go to compile the nios ii ide tells me that the fucntion from raw.h is not defined. I even tried moving the raw.c and raw.h both into the same directory as the file and putting them both in the include for the file. And I am still getting the same error. Any help would be appreciated. 

 

Thanks, 

 

Brett Brotherton
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
285 Views

I figured it out, I had to add# define LWIP_RAW 1 in order for the raw functions to be defined.

0 Kudos
Reply