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

ble_app_interactive code for nRF52840 Dongle

Hi i am working on nRF52840 Dongle , I could not find ble_app_interactive application for nrf52840 dongle,

i am trying to implement the same code with some modification as below:

changed Project->options->c/c++ compiler->Preprocessor

Defines:

BOARD_PCA_10059

NRF52840_XXAA

S140

but i am getting an error saying: Duplicate definition for UARTE0_UART0_IRQHANDLER

Please suggest if there is already ble_app_interactive example code exist for nRF52840 Dongle???

Parents
  • Hi.

    How did you try to implement it?

    Did you follow this tutorial?

    I did a successfull implementation by following that tutorial.

    These are the steps I did:

    1.  Make a copy of the folder pca10056 in examples\ble_central_and_peripheral\experimental\ble_app_interactive

    2. Renaming that folder pca10059

    3. Chaning the preprocessor define BOARD_PCA10056 to BOARD_PCA10059

    4. Open the file components\boards\pca10059.h

    5. Adding the defines needed for configuring UART for CLI

    #define RX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,10)
    #define TX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,13)
    #define CTS_PIN_NUMBER NRF_GPIO_PIN_MAP(1,15)
    #define RTS_PIN_NUMBER NRF_GPIO_PIN_MAP(0,2)
    #define HWFC           true
    

    Then I compiled the project without any errors:

    Try this.

    Best regards,

    Andreas

Reply
  • Hi.

    How did you try to implement it?

    Did you follow this tutorial?

    I did a successfull implementation by following that tutorial.

    These are the steps I did:

    1.  Make a copy of the folder pca10056 in examples\ble_central_and_peripheral\experimental\ble_app_interactive

    2. Renaming that folder pca10059

    3. Chaning the preprocessor define BOARD_PCA10056 to BOARD_PCA10059

    4. Open the file components\boards\pca10059.h

    5. Adding the defines needed for configuring UART for CLI

    #define RX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,10)
    #define TX_PIN_NUMBER  NRF_GPIO_PIN_MAP(1,13)
    #define CTS_PIN_NUMBER NRF_GPIO_PIN_MAP(1,15)
    #define RTS_PIN_NUMBER NRF_GPIO_PIN_MAP(0,2)
    #define HWFC           true
    

    Then I compiled the project without any errors:

    Try this.

    Best regards,

    Andreas

Children
Related