nRF52840 Arduino IDE

Hey There!

I’ve just recently receieved my SparkFun Pro nRF52840 Mini development board and have been trying to set up my Arduino IDE to start developing some applications. I’ve followed all of the recommended steps, including:

  • Installing a suitable Arduino IDE (1.8.9)

  • Installing the Adafruit nRF52 board package (0.10.1)

  • Updating the boards.txt file

  • Including the ‘sparkfun_nrf52840_mini’ folder in the required directory
  • However, when attempting to compile the Blinky Button BLE example (found here:- https://learn.sparkfun.com/tutorials/nr … 1551685662), I am presented with the an error (see the below error message):

    "Arduino: 1.8.9 (Windows 10), Board: “SparkFun Pro nRF52840 Mini, s140 6.1.1 r0, Level 0 (Release)”

    C:\Users\kiern\AppData\Local\Arduino15\packages\adafruit\tools\gcc-arm-none-eabi\5_2-2015q4/bin/arm-none-eabi-ar: unable to rename ‘core\core.a’; reason: File exists

    exit status 1

    Error compiling for board SparkFun Pro nRF52840 Mini.

    This report would have more information with

    “Show verbose output during compilation”

    option enabled in File → Preferences."

    Can anyone help me out with how to resolve this??

    Sounds like you might have a file permissions issue. Try rebooting your computer and see if that helps, or running the IDE as an administrator. If that doesn’t do the trick, you might have to manually find the core.a and delete it. The directory it’s in is a hidden folder so you might also need to un-hide it to track it down.