NordicPlayground / nRF51-ble-bcast-mesh

Other
323 stars 121 forks source link

3 Questions regarding migrating to Nrf52 platforms #188

Open bayou9 opened 7 years ago

bayou9 commented 7 years ago

Hello, I'm trying to migrate this project to nrf52 platforms, nrf52840 to be more exact. I have a few questions:

What are the things to keep in mind, more specifically, what are the functions that will have to be modified when migrating?

Could I be looking down on rewriting >30% of all the codes? Will a lot of framework related, infrastructure stuff need a complete do over? I'm very concerned about the time slot mechanism, it may be very different from nrf51?

Last, but not least, is there any future plans to officially port the project to nrf52xxx?

trond-snekvik commented 7 years ago

nRF52832 is supported in most of the example Keil-projects, and the code should not require any changes to work with nRF52840 hardware-wise. The biggest obstacle can be changing the SDK, if you're not on an SDK that supports nRF52840/S140 (support was added in SDK13). For this, I'd recommend looking at the SDK migration guide, and asking on the DevZone, as the support team is more responsive than I am able to be here (as well as being more knowledgeable on the SDK).