I work with DE2 Board and I try to load the DE2_NET project.
It is NIOS sample project, in which the work with DM9000A controler is demonstrated. But when I compile the project in Altera Monitor Program, I have a error in file DM9000A.H: "error `DM9000A_BASE' undeclared". Where `DM9000A_BASE' has to be declareted ? Should I declare `DM9000A_BASE' myself ? Thank youLink Copied
DM9000A_BASE should be defined in system.h
system.h is generated with the system library, taking as input a .stf file that describes the Nios processor and all its peripherals. Therefore you must check that the system library points to the correct .stft file (one in a SOPC project that has a DM9000A controller, that is called DM9000A) And by the way you should rather ask this question in the NIOS forum.For more complete information about compiler optimizations, see our Optimization Notice.