Hello,
I'm trying to set a new environment with the SDK12 that'll be less cringy than the one I was running under the previous one. Basically, what I want is a workspace with the SDK12 at its root, and subfolders with the projects I'm currently working on, linked to the SDK resources.
It looks like this:
/workspace
./nRFSDK12
./Project1
./main.c
./someheader.h
./Makefile
./linker.ld
./Project2
./...
...
Pretty straight forward isn't it?
Question is, how do I get Eclipse to index those symbols? make
works perfectly, but Eclipse is just blind to my inclusions outside the Project1 folder. Directories in Makefile are set as follows:
SDK_ROOT := D:/eclipse/cpp-mars/workspace/nRFSDK12
PROJ_DIR := D:/eclipse/cpp-mars/workspace/Project1
TEMPLATE_PATH := $(SDK_ROOT)/components/toolchain/gcc
And it doesn't yield any error on make
commands.
I had followed the Tutorial for SDK11 and did likewise for the automatic discovery of symbols:
Enter project properties -> C/C++->Preprocessor Include Paths,etc.->Providers Click on CDT GCC Build Output Parser and change the compiler command pattern from (gcc)|([gc]++)|(clang) to (.gcc)|(.[gc]++) then apply changes. Click on CDT Built-in Compiler Settings Cross ARM and replace ${COMMAND} with arm-none-eabi-gcc and click Apply.