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

Define BOARD_CUSTOM not working in SDK12 with GCC

I can't seem to add custom pin definitions to my own board in SDK12. I use the BOARD_CUSTOM define and copied my PCA10040 header file to one call custom_board.h and my pin assignments do not change. The only warnings I get are from bad paths to the config folder which is new since moving to SDK12.image description

Parents
  • Hi Roger,

    Reading the docs for SDK12 under the heading "Using the SDK with other boards" it states "You can then select to use the custom board by adding the define statement #define BOARD_CUSTOM". This is what I'm doing which does not work. Using your error debug method I can see where is selects PCA10040 header file but never my custom_board file.

Reply
  • Hi Roger,

    Reading the docs for SDK12 under the heading "Using the SDK with other boards" it states "You can then select to use the custom board by adding the define statement #define BOARD_CUSTOM". This is what I'm doing which does not work. Using your error debug method I can see where is selects PCA10040 header file but never my custom_board file.

Children
No Data
Related