Porting to nRF52810

Dear Nordic,

I port one of my application for nRF52810 from nRF52832(application). i Followed as  per guide. but when i build its showing an error.

RTE\Device\nRF52810_xxAA\system_nrf52810.c(169): error:  #136: struct "<unnamed>" has no field "MAXPACKETSIZE"

Why this error occurs?

ROM and RAM settings:-

C/C++ preprosessor settings:-

BOARD_PCA10040 CONFIG_GPIO_AS_PINRESET FLOAT_ABI_HARD NRF52810_XXAA NRF52_PAN_74 NRF_SD_BLE_API_VERSION=6 S132 SOFTDEVICE_PRESENT SWI_DISABLE0 __HEAP_SIZE=0 __STACK_SIZE=8192

Remove files and adding .s and .c files:-

1. Is it any mistake in my setting?

2. why the error showing when i build?