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

Porting application to nRF52810

Dear nordic,

I have application that developed using development kit pca10040 . I want to change it to supporting nRF52810. i follow the instruction the link :-

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fnrf52810_user_guide.html&cp=4_0_0_5_0:

but its little bit confusing. MY ide is keil 

  1. Open the example project for your IDE.
  2. In the project settings, change to device "NordicSemiconductor->nRF52810_xxaa".
  3. In the C/C++ preprocessor settings, remove the defines "NRF52" and "NRF52832_XXAA".
  4. Add the preprocessor define "NRF52810_XXAA".
  5. In the linker script settings, adjust the linker script to match the maximum RAM and flash size of nRF52810.
    • ROM END: 0x2FFFF
    • RAM END: 0x20005FFF
  6. Remove the following files from the project: <compiler>_startup_nrf52.s and system_nrf52.c.
  7. Add the following files to the project: <compiler>_startup_nrf52810.s and system_nrf52810.c.

i changed the  device to 810 .

In  3rd step preprosessor :-

where i change that

in 5 th step where i change the size of ROM and RAM

and also in last steps where i change that files . need some support

Parents Reply
  • I change the c/c++ preprocessor like below:-

    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

    Is it right?

    But till i get error

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

    what changes are i do to resolve this error?

Children
Related