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

How to port the ble_app_uart in pca_20006 board from pca_1-0028

Hi In our Nordic SDK ble_peripheral projects , It almost support following boards

       1. pca10028
       2. pca10036
       3. pca10040 .

I want to port in pca20006

May I know the way ?

Parents
  • Hi,

    Use the pca10028 project.

    If you are using Keil, then under "Options for target" -> "C/C++" tab, under "Preprocessor Symbols" remove the define BOARD_PCA10028, and add the define BOARD_PCA20006.

    If you are using GCC, you need to modify the makefile. Change ASMFLAGS += -DBOARD_PCA10028 to ASMFLAGS += -DBOARD_PCA20006

    You also might need to adjust the FLASH/RAM settings, depending on what version of the PCA20006 you have.

  • hi , I changed both setting

         1.  Modify  the  Makefile  ASMFLAGS += -DBOARD_PCA10028 to ASMFLAGS += -DBOARD_PCA20006
         2.  I  am using  nrf51822 QFAAH00(0x0072) becoan board, version 3 , Flash is  256KB  
             RAM is 16KB. So I changed beacon_gcc_nrf51.ld  below values
         
     MEMORY
    

    { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001870, LENGTH = 0x2790 }

    Still I am not able to port the application in my board PCA20006.

    can you guide me ?

Reply
  • hi , I changed both setting

         1.  Modify  the  Makefile  ASMFLAGS += -DBOARD_PCA10028 to ASMFLAGS += -DBOARD_PCA20006
         2.  I  am using  nrf51822 QFAAH00(0x0072) becoan board, version 3 , Flash is  256KB  
             RAM is 16KB. So I changed beacon_gcc_nrf51.ld  below values
         
     MEMORY
    

    { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001870, LENGTH = 0x2790 }

    Still I am not able to port the application in my board PCA20006.

    can you guide me ?

Children
No Data
Related