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

#include into HAL library

Altera_Forum
Honored Contributor II
941 Views

Hello.  

 

I have my project NIOSII in the following form (window C/C++ Projets): 

 

+--+-- Nios II Device Drivers 

| +---- altera_avalon_asmi 

| +---- etc 

| +---- .......... altera_avalon_to_be_modify.c 

| +---- etc 

+--+-- MyProject 

| +---- MyFile.h 

| +---- MyFile.c 

| +---- etc 

+--+-- MyProject_syslib 

+---- etc 

 

 

How to simply include the file 'MyFile.h' from the disc X: to the file 'altera_avalon_to_be_modify.c' on the disc Y: (same project), ie without including all the path as follows :  

# include "X:/...complete_path.../MyFile.h"  

 

Best regards. 

 

bbo
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
246 Views

I don't know if you can copy it there as a son file of the ....modify.c.

0 Kudos
Reply