I followed Neil's tutorial here:
https://www.youtube.com/watch?v=bYh2w0HzS7s
I've got everything working except for a library that I added in components folder (U8g2). U8g2 library has two source folders, so I made a component.mk file in project-folder/components/U8g2/ with the following:
Code: Select all
COMPONENT_SRCDIRS := src src/clib
COMPONENT_ADD_INCLUDEDIRS := src src/clib
Now, back to Eclipse. It cannot find a lot of the U8g2 class instances and it gives me a bunch of swiggly red lines calling "..... cannot be resolved".
My includes and everything look solid in the project settings. Not sure what's wrong!
I think I am about to go punch a hole in the wall. Eclipse has the worst piece of software indexer - It is a seperate piece of crap that works on its own mind. Compilation succeeds but indexing doesn't. It is like rolling a dice with the indexer. Half the time it does some magic and half of the time it works.