Hi,
How can I port the code written for nRF51 to nRF52>
Do have nRF52 FW backward compatibility.
And can i use same base code for both chips?
Is there any link/documentation that would help is appreciated.
Thanks!
Hi,
How can I port the code written for nRF51 to nRF52>
Do have nRF52 FW backward compatibility.
And can i use same base code for both chips?
Is there any link/documentation that would help is appreciated.
Thanks!
The difference in APIs are fairly big. I strongly urge you to start over with SDK 15.3. You can reuse a lot of your code from custom services and much of your program flow, but almost all calls to libraries are changed. Previous experience with BLE and the nRF51 SDK will help you a lot of course.
There's a high-level migration guide here: https://infocenter.nordicsemi.com/topic/migration_nrf52/MIG/nrf52_migration/preface.html
But it hasn't been updated for a while, so it's not targeting the current SDK.
After changes in libraries. Code would work for both nrf51 and nrf52 chip?
Few questions -
1. Which version of the SoftDevice is compatible with both NRF51 and NRF52?
2. Are there any dependencies on the other libraries, framework used in the FW build?