I'm new in NIOS development tools and apologize in advance for probably silly question.
So, the question is: How to take into account the .h files that are referenced (by #include statements) in the source code. I suppose that there are 2 options:
- Add these files in the application directory tree (right-clicking on the project I didn't find respective option)
- Add the path to these .h files somewhere in the project option (where exactly ? because exploring project options I didn't find an option for specifying path for .h files)
Here, for example, the snapshot from a simple project, taken from the book "Embedded SoPC design with NIOS II processor and VERILOG examples".
The compilation errors are related to unrecognized types alt_u8, alt_u32, that are declared here:
Thanks in advance.