This blog describes how you can setup a Segger Embedded Studio example for PCA10040E (emulating nRF52810) from nRF5 SDK 14.2 to use S132 v5.1.0, instead of S112. The procedure should be similar for the other toolchains.
nRF5 SDK 14.2 officially supports S132 v5.0.0, but since it is drop-in compatible, you can use S132 v5.1.0 instead of S132 v5.0.0 for nRF5 SDK 14.2. Simply flash s132_nrf52_5.1.0_softdevice.hex instead of s132_nrf52_5.0.0_softdevice.hex. s132_nrf52_5.1.0_softdevice.hex can be downloaded here.
The ble_app_uart_pca10040e_s112 example will be used as a starting point. This is chosen because it is one of the smaller Bluetooth Low Energy examples, the larger ones may not fit in the nRF52810 flash.
If you get into trouble, please post a question in the Q&A section and link to this blog.
For more information on developing on nRF52810, see this.
Hi!The S132 5.0.0 was, indeed, 0x23000 in size (or more accurately, 0x224A8). But v 5.1.0 is much smaller at 0x1F084. Are we giving up 3 KB of flash to maintain binary compatibility with v5.0.0?
I'm referring to the fact that we are setting FLASH_START to 0x23000 in section placement macros.