Altera_Forum
Honored Contributor
8 years agoinclude path to header files from bsp
Hello,
I've got a question: I created a NIOS II application with BSP from the Micro C/OS II hello-template using the the eclipse SBT. My problem is that i always have to write the complete relative path when i for example want to include the generated system-header file (system.h) into a file of my application folder for some reason. shouldn't it be possible just to write# include "system.h" instead of# include "../project_name_bsp/system.h" , since this file is part of the BSP? I already saw examples where they included system.h and other device-driver-headers without writing the whole relative path each time. Did i missed something? Do i have to adapt something in the bsp settings? Cleaning the project and re-generating the BSP did not change anything. Thanks in advance rookie2017