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

S132 v2.0.0 RAM requirements

According to the S132 v2.0.0 release notes it states:

"minimum required memory - actual requirements are dependent upon the configuration chosen at sd_ble_enable() time)."

What is the memory requirement of each link type so that the RAM start location and space can be set up correctly depending on the application?

Parents
  • I asked if there was a formula the other day in this thread. The advice, as I expected, was to do just give it lots of RAM, check the value of the 'required RAM' the softdevice sends you back on init, then put that into your linker file and rebuild.

    You can guess out a rough formula fairly easily by just adding links and VS slots but it's probably easier to give it plenty of RAM during devel, then cut it down later when you're optimizing.

Reply
  • I asked if there was a formula the other day in this thread. The advice, as I expected, was to do just give it lots of RAM, check the value of the 'required RAM' the softdevice sends you back on init, then put that into your linker file and rebuild.

    You can guess out a rough formula fairly easily by just adding links and VS slots but it's probably easier to give it plenty of RAM during devel, then cut it down later when you're optimizing.

Children
Related