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

Error in Adapting SDK projects for the nRF52840 Dongle

Hello Nordic Team,

I was working on blinky_systick Example(Path - nRF5_SDK_15.3.0_59ac345\examples\peripheral\blinky_systick\pca10056\blank\ses)which is available for 10056 board but I follow the 

Adapting SDK projects for the nRF52840 Dongle tutorial (https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/nrf52840-dongle-programming-tutorial). And changed "Preprocessor Definitions" & "linker configuration"( see the attachments).

But still, I got an error(See the attachment).

                                                              waiting for your quick response

Parents
  • Hi Parman, 

    the error might be caused by the long path to the project. You should move you project, so that you get a shorter path. 

    Best regards,
    Kaja. 

  • Dear Kaja,

          I can't move the project, I tried to move it to Path - "nRF5_SDK_15.3.0_59ac345\pca10056\blank\ses" but then header files is not opening( not able to locate). 

          If the path was creating a problem then other examples don't work also. But they are working.

         Do I need to change board in board.h file (see the image). If yes, then how? - 

      

                          waiting for your quick guidance 

  • Hi.

    You have to modify the Common configuration, not the Release.

    Then the pca10059.h file should be included.

    Also I suggest you do as awneil suggested, and clean up all the warnings you have in your project.

    Best regards,

    Andreas

  • Hello,

       I got the reason of error -  I added ";"  after the macros (see the image) - 

          But after uploading the nothing happens to dongle see the attached video - 

                            waiting for your quick response.

  • Hi.

    You have to plug the device out and plug it back in.

    Best regards,

    Andreas

  • Hi,

    Still unable to run code - 

                              waiting for your quick response 

  • Hi.

    The programming looks correct.

    Can you try to flash this file: blinky_systick_pca10056.hex

    Best regards,

    Andreas

Reply Children
Related