I'm trying to pull my project out of the examples directory, but there seems to be many dependencies on files far outside my project, and files not shown in my project file-tree menu in uVision.
I moved the example ble_app_hrs
to a new directory, and have been slowly fixing each missing file by re-adding versions of each file inside my ble_app_hrs
directory. Right-click the project -> selecting Manage Project Items...
-> Add Files...
-> choose only files INSIDE your project.
I have two questions:
1. Why are not the header files included? It seems like only the .c files and not their corresponding .h files. I'm used to including each .c and .h file so as to make the project dependencies as clear as possible. E.g. everything that's in that project file tree in the IDE is what is being used.
- Why am I getting the error
nordic_common.h: No such file or directory
when I clearly copied and pasted the nordic_common.h file into my project directory and added it to my project files?
Is there a better way to go about this?
Edit
I just discovered this page under Options for Target...
-> C/C++
tab:
Are there recommended settings for this page? I really want to clear that entire Include Paths
section and Define:
section.