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

Nordic SDK & Custom boards

Hi,


can anyone provide any insight into moving beyond a pca10040 development board and creating a project for a custom board? What are the steps that you have to go through?

I am using a design based on a fanstel bt832. 

I take it that you have to modify "boards.h" and add a header file for your own board.

I am using Segger Embedded Studio and nRF5_SDK_15.2.0_9412b96.

Regards,

Steve.

  • Hi Steve,

    I'm sorry that you feel that the documentation is lacking details. The board header files is not very complex, and the documentation describes how to utilize one of the existing files to adapt it to your custom board. Then all you need to do is to add this new file to the board include file, and modify the board define in the project.

    Let me know what exactly you need more details on and I will help you out (if not someone in the community can help you even faster ;-) ).

    Regarding my short answer, I added the link to the documentation as a complement to the answer from Tim that was already posted. We check all tickets on this forum, but not all require attention from Nordic support engineers, as they are handled by community members. 

    Best regards,
    Jørgen

  • For future reference, (this using SES Release 5.42):

    - In the project explorer right click on the project file, select options from the drop down menu.

    -In the project options window, select "Private Configurations -> Common" from the drop down menu at the top right of the GUI".

    - Under Code -> Preprocessor double click preprocessor definitions.

    - Change "BOARD_PCA10040" to "BOARD_CUSTOM"

    - Add your board header file to the SDK folder : eg ..\NordicSemi\nRF5_SDK_15.2.0_9412b96\components\boards 

    - In boards.h edit the line: 

    #elif defined(BOARD_CUSTOM)
    #include "custom_board.h"

    to your chosen .h board header filename eg:
    #include "my_board.h"

    - Edit the board file to suit your custom board.

  • OK, I will watch the videos that you suggest and let you know if that addresses the question, thank you.
    Can I suggest that when you get these questions that you also amend the SDK docs so that these omissions are addressed and the answers recorded in the docs? It would make it easier for newcomers to get started without hunting through many obscure forum posts.

Related