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

Modifying SDK. Is that good practice?

Hello,

Is it a good practice to modify SDK files?

I mean, do you use SDK as integral part of your project and feel free to modify it, or do you try to avoid it and just use API's as it is?

This question is a little bit related to this: devzone.nordicsemi.com/.../

Parents
  • I totally agree with both @endnode and @Emmanuel

    You should not change anything inside the SDK at all.

    This includes even adding a custom header file for a custom board, hence see my post / question about making sure your project source code is completely isolated from the SDK.

    In your case, I think you'd need to duplicate the files that you need to modify and change your makefile to use your copies instead of the SDK version

Reply
  • I totally agree with both @endnode and @Emmanuel

    You should not change anything inside the SDK at all.

    This includes even adding a custom header file for a custom board, hence see my post / question about making sure your project source code is completely isolated from the SDK.

    In your case, I think you'd need to duplicate the files that you need to modify and change your makefile to use your copies instead of the SDK version

Children
No Data
Related