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

Porting ble_app_uart for pca20006

I tried porting app from pc10028 to pca20006 by copying the main file from pc10028 ble_app_uart to main file of ble_app_beacon of pca20006.I resolved all the #include related issues but now there are some linking errors like :

._build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol app_uart_get (referred from main.o).

How I can solve these issues? Is there is any work around?

Parents
  • Hi,

    You need to include app_uart_fifo.c and app_fifo.c source file into your project:

    Right click on nRF_Libraries group in the project window. 
    Click Add existing files to group 'nRF_Libraries' and add:
      
    ..\..\..\..\..\components\libraries\uart\app_uart_fifo.c
    ..\..\..\..\..\components\libraries\fifo\app_fifo.c
    

    If you are using SDK 12, you also need to enable app_uart and app_fifo libraries in the SDK configuration file, sdk_config.h, using #define APP_UART_ENABLED 1 and #define APP_FIFO_ENABLED 1

    You should be able to run most PCA10028 examples on the PCA20006 board, by defining the symbol BOARD_PCA20006 in the C/C++ preprocessor symbols. This would typically be easier than to copy the code over to the beacon example.

    Best regards,

    Jørgen

  • I done my change in Make file . But Still My board PCA20006 not run . I adjust FLASH/ RAM Setting also in beacon_gcc_nrf51.ld file . can you guide me . Is anything is there

Reply Children
No Data
Related