Actual flash usage with Nordic BLE stack

30 May 2017

(edit: formatting)

I'm trying to estimate how much flash is consumed by the Nordic nRF51 SoftDevice S110 BLE stack. I have some conflicting information I'm trying to rectify.

1) The FOTA page claims 88kB (https://developer.mbed.org/teams/Bluetooth-Low-Energy/wiki/Firmware-Over-the-Air-FOTA-Updates).

2) The S110 SoftDevice .hex I downloaded by Nordic is 255kB.

3) When I compile sample Heart Rate code on https://developer.mbed.org/compiler, it claims the whole program needs 35kB

4) The compiled .hex I download is 401kB!

Of these four sizes, which is the amount of flash that's actually needed by the stack? Which one do I believe?

Thanks!