Based on: ".\nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10040\dual_bank_ble_s132\arm4\dfu_dual_bank_ble_s132_pca10040.uvproj".

The UV warns that "there is no nRF52832 device", when this project opened first time!
Then I switch device to "nRF52810", recover the IRAM2 settings (still don't know why), cancel the "cross-module optimize" (speed up the compile).
At last save the UV4 project to UV5 format as prompted by UV.

Since the 52810 has a smaller RAM&Flash:
change "dfu_dual_bank.c" to "dfu_single_bank.c";
change "start" of RAM&Flash in Keil "Options".

Note that the start/size is 0x1A000/0x4000, then:
0x1E000 will be the MBR Parameter storage(see MBRPARAMADDR in S132 spec), which we set to the macro "BOOTLOADER_MBR_PARAMS_PAGE_ADDRESS" in dfu_type.h;
0x1F000 will be the bootloader setting (no description in 132 spec), which we set to the macro "BOOTLOADER_SETTINGS_ADDRESS" in dfu_type.h.
(The MBRPARAMADDR is varied in versions of S132, NVM, just put it between the bootloader and bootloader setting, according to the sample project.)

#define DFU_APP_DATA_RESERVED           CODE_PAGE_SIZE * 3	// 3: 1 is "swap" for "Persistent Storage Manager", 1 for "device manager", 1 is "application data".

Change NRF_CLOCK_LFCLKSRC from NRF_CLOCK_LF_SRC_XTAL to NRF_CLOCK_LF_SRC_SYNTH, according to the hardware.

Add is_button_pressed and is_reset_by_button, delete all the LED&button of the sample.

Change the BLE adv name/manufacturer to "LumosBoot/LumenLabs".

For the merge of bootloader_settings.hex, pls see: 
https://devzone.nordicsemi.com/b/blog/posts/common-faqs-on-dfu
and
https://devzone.nordicsemi.com/f/nordic-q-a/4610/combining-sd-dfu-and-application-hex-and-programming#post-id-22246
and
the command which create the setting value: nrfjprog --family NRF51 --memwr 0x3FC00 --val 1

The Nordic tool "nrfutil" doesn't support the bootloader_settings.hex for "legacy DFU" which we need,
so we create the hex manually based on the nRF51 one which is used in Lumos Helmet V2.5, according to the "Intel hex" format:
change base address from 0x0003 to 0x0002;
change the setting item address from 0xFC00 to 0xF000, which means "the flash address of the setting page next to bootloader".

Add light flash as the indication of Rescue Mode.