This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

porting code for S110 to work with S310

Hi,

When porting code for S110 to work with S310, what modifications are required?

Thanks.

Parents
  • Hi

    Here is the porting guide, i.e. to port any S110 application to the S310 v1.0.0 softdevice. First copy the BLE example folder to directory \Nordic\nrf51_sdk_v5_2_0_39364\nrf51422\Board\nrf6310\s310. There are actually only two changes to the BLE project needed in order to make it compatible with the S310 softdevice:

    a) In Keil -> Options for Target, change the path from /include/S110 to /include/S310 image description

    b) Change RAM and ROM settings image description

    Note: The S310 v1.0.0 softdevice is based on S110 v6.0.0 and S210 v3.0.0 softdevices. For that reason, only port BLE examples from nRF51 SDK v5.2.0 to work with the S310 v1.0.0 softdevice, because the nRF51 SDK v5.2.0 is compatible with S110 v6.0.0.

    Update 8.12.2014 for S310 v2.0.0 The procedure for port BLE application from SDK 7.1.0 to the S310 v2.0.0 is similar as for the S310 v1.0.0.

    a) In Keil -> Options for Target, change the path from /include/S110/headers to /include/S310/headers image description

    b) Change RAM and ROM settings image description

  • Hi Stefan,

    Thanks for your quick reply. I did the same modifications. But it needed more modification in my case. Maybe it's better to describe what I did in my case. I'll write these in an answer instead of a comment here because of the word number limitation and incapability of pasting picture.

Reply Children
No Data
Related