This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Getting up to speed tutorial

I feel defeated. Programming nrf52 uses libraries that rely on libraries that rely on libraries and on. Loading a new project into Segger Embedded Studio loads none of the libraries used by the SDK. I don't know where to find the full set of libraries and don't know what libraries a certain function requires.

I think perhaps I am too much of a novice to get over the hump. All documentation I can find starts assuming more knowledge than I have. Does anyone know of a good tutorial, book, etc that could get me up to speed by any chance?

Thanks,

Parents
  • I would go to the main folder of the SDK in your OS that you are using and search for the specific file(s). For instance search "access.h"  right click 'open file location'. Then copy the file path. Into project explorer ---> preprocessor----> User include directories (make sure to click the common).   If you are missing a access.c file copy the file into the folder you want to put it in "add existing folder".  It will take a long time the first time, but you will get faster and find faster techniques. There are videos from nordic that show this process as well.

  • Thank you.  What I don't understand is how to figure out what all files are needed.  For example, I need to run giote driver but it's header file has includes for 7 other header files and I would imagine all of them have includes for additional header files and I am sure there are a number of source code files required also.  How do I determine all the needed files to include to support one sdk function like gpiote?  That is the reason I asked about including all library files.  Thanks.

Reply
  • Thank you.  What I don't understand is how to figure out what all files are needed.  For example, I need to run giote driver but it's header file has includes for 7 other header files and I would imagine all of them have includes for additional header files and I am sure there are a number of source code files required also.  How do I determine all the needed files to include to support one sdk function like gpiote?  That is the reason I asked about including all library files.  Thanks.

Children
Related