SEGGER custom board definition in mesh SDK

cmss99 gravatar image

asked 2017-09-14 05:22:18 +0100

I'm using "nrf5_SDK_for_Mesh_v0.9.2-Alpha". And, I build examples using "SEGGER Embedded Studio 3.26a".

Now I want to modify examples for my custom board. In CMake, "-DBOARD_PCA10040" is used for board definition. But, where can I change this in "SEGGER Embedded Studio"?

I guess below project's option can be used. But, "inherits" already has "BOARD_PCA10040". image description

How can I delete BOARD_PCA10040 and add my custom board's definition?

Best Regards Jake

edit retag flag offensive close delete report spam

1 answer

Sort by ยป oldest newest most voted
Joakim-Jakobsen gravatar image

answered 2017-09-18 12:22:10 +0100

Hi Jake!

Sorry for the delayed response.

To change the properties inherited by the solution, select your project and the go to; Project -> Open solution in editor.
You should now see something like this:

image description

Notice the c_preprocessor_definitions line. There you should be able to change the BOARD_PCA10040 to BOARD_CUSTOM, or whatever else you might want.

Best regards,

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower


Asked: 2017-09-14 05:22:18 +0100

Seen: 89 times

Last updated: sep. 18