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

How to creating a Keil project for a Mesh example(V3.0.0)

Platform:                  windows

hardware revisions: PCA10056

nrf5 SDK:                15.2.0

mesh SDK:              V3.0.0

IDE:                         Keil MDK \ SEGGER embeded studio

I want to use keil to develop mesh projects, but there are only SEGGER embeded studio examples in SDK, so how can i move the project from segger to keil?

I has found this thread, it tell us how to move mesh project(V0.10.0) to keil, I found there are some difference between mesh SDK V0.10.0 and V3.0.0 .

for example, the include path\ the preprocessor symbols...

And now, I has finished some work, has creating a project by keil for mesh example, and add include paths in keil, but the preprocessor symbols has changed from V0.10.0 to V3.0.0, 

so i can't compile it, it show so many errors and warnings.

could you tell me how can i set the preprocessor Symbols in keil?

 

Parents
  • I want to use keil to develop mesh projects

    Why?

    there are only SEGGER embeded studio examples in SDK

    True.

    So, if you want to use a non-supported toolchain, you need to be sufficiently experienced with that toolchain to manage it yourself.

    Have you looked at the Keil documentation & examples on how to set up projects using their tools?

    I would suggest that you, at least, start with SES - so that you have a supported, working base to go from.

    how can i set the preprocessor Symbols in keil?

    Follow the Keil documentation.

    http://www.keil.com/support/man_arm.htm

    Specifically: http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm

    it show so many errors and warnings

    Your screenshot shows only one warning - it is the same warning repeated 3 times!

    So fix that issue once, and you will immediately remove at least 3 warnings - all in one go!

    Most likely, the others are similar - either the same problem repeated in multiple places, or one error causing lots of subsequent errors.

    Hence the rule is always: address the earliest issue first - it's likely that it will fix a load of follow-on problems.

    This is actually standard stuff - not specific to Keil or Nordic or SES.

Reply
  • I want to use keil to develop mesh projects

    Why?

    there are only SEGGER embeded studio examples in SDK

    True.

    So, if you want to use a non-supported toolchain, you need to be sufficiently experienced with that toolchain to manage it yourself.

    Have you looked at the Keil documentation & examples on how to set up projects using their tools?

    I would suggest that you, at least, start with SES - so that you have a supported, working base to go from.

    how can i set the preprocessor Symbols in keil?

    Follow the Keil documentation.

    http://www.keil.com/support/man_arm.htm

    Specifically: http://www.keil.com/support/man/docs/uv4/uv4_dg_adscc.htm

    it show so many errors and warnings

    Your screenshot shows only one warning - it is the same warning repeated 3 times!

    So fix that issue once, and you will immediately remove at least 3 warnings - all in one go!

    Most likely, the others are similar - either the same problem repeated in multiple places, or one error causing lots of subsequent errors.

    Hence the rule is always: address the earliest issue first - it's likely that it will fix a load of follow-on problems.

    This is actually standard stuff - not specific to Keil or Nordic or SES.

Children
Related