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

S130 / SDK 12.3.0 Flash footprint

So, does anyone have practical advice for reducing the code size of peer_manager and related modules, so that the ble_app_template project fits on the nrf51822 128KB part?

This is for a very basic peripheral based on NUS service. The related questions I've seen are mostly from last year (such as devzone.nordicsemi.com/.../), so maybe there's been some further evolution on the topic?

Thanks!

  • Hi Rick,

    There ain't much development for nRF51 lately, as SDK v12.3.0 is the last SDK version that support nRF51.

    It would be difficult to fit peer manager and all other module on a 128kB variant. It depends on your application's requirements you can choose to use the module(s) or not. If you don't plan to have central role, you can think of using S110, which has smaller flash size (96kB) compare to S130 (108kB).

    In addition, if your application doesn't require bonding you can think of not using peer manager at all, and handle the events on your own. You can refer to ble_app_uart to see how we handle events without using peer manager.

Related