Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52480 freertos blinky template

Hi.

I've been working with the nRF52840 for a couple of months. I started working on SEGGER IDE, but I've found that it was quite difficult to understand the behavior of the IDE's folders and the real folders. Adding to that, the project uses absolute paths to find each file, even the project and the SDK files.

Another tricky thing that I found is that the SEGGER compiler doesn't allow to work on C++, even if the microcontroller has an ARM Cortex based Core.

So I gave an opportunity to the GNU arm gcc builder and the traditional Makefile.

I've created a public repo on GitHub that contains the "blinky-freertos" example of the SDK, to be used as a template. I modified the Makefile and the folder structure of the example as the normal /src, /bin, etc folder structure.

The repo is on:

github.com/.../fgr-17-nRF52840-blinky-freertos-template

I want to add to this:

- test C++ compilation (at this point I didn't tested it)

- doxygen

- ceedling unit tests

- code metrics

Any comments and suggestions will be appreciated!

Thanks

Parents
  • Hi froux,

    There is only so much support that we at Nordic can provide so i am not able to help you with everything, maybe someone else on here can. 

    So doxygen, unit tests and code metrics are outside Nordic scope for support when it comes to third party software and it is mostly a application developers choice. 

    C++ compilation can be done by wrapping the code in C++ macros, this is however a very manual ask for every file. Then compiling with at least g++ will work, probably c++ also.

    Regards,
    Jonathan

Reply
  • Hi froux,

    There is only so much support that we at Nordic can provide so i am not able to help you with everything, maybe someone else on here can. 

    So doxygen, unit tests and code metrics are outside Nordic scope for support when it comes to third party software and it is mostly a application developers choice. 

    C++ compilation can be done by wrapping the code in C++ macros, this is however a very manual ask for every file. Then compiling with at least g++ will work, probably c++ also.

    Regards,
    Jonathan

Children
No Data
Related