How to migrate project developed in nrf Connect SDK 1.2 to version 1.9?

Hi everyone

We have developed a smartwatch with a nrf9160 chip. We have used nrf Connect SDK 1.2 for the development process.

Now we want to migrate our project to nrf Connect SDK 1.9.

We have installed SDK 1.9 and tried building our project. As expected we got many compatibility errors since the API's used in each SDK version are different.

How should we migrate our code to be compatible with nrf Connect SDK 1.9? Should we modify manually each module trying to make it compatible? Or is there another way?

Any tips or information will be greatly appriciated.

Kind regards,

Zab

  • Hello Zab, 

    How should we migrate our code to be compatible with nrf Connect SDK 1.9? Should we modify manually each module trying to make it compatible? Or is there another way?

    Any tips or information will be greatly appriciated.

    Unfortunately, there is no straight forward guide for a migration process like that. You have to go through each library / Kconfig set your application is using and modify accordingly. The release notes for each release might be a help as they give you guidance on what has changed. 

    Alternatively, if your application is based on a sample provided by us, taking it as a reference from the SDK version migrating to and then adding custom functionality step by step could be another approach. 

    Regards, 

    Markus 

Related