I recently purchased nRF52840 and setting it up following instructions.
I have completed steps till updating the “boards.txt” but not able to understand the following step in blue text below (specifically what’s the original directory in this context)?
https://learn.sparkfun.com/tutorials/nr … cuitpython
Then copy the contents of the “variants” folder in this directory into the “variants” folder of the original directory. Nothing should be overwritten, but a new “sparkfun_nrf52840_mini” directory should be added in.
When I try to save/compile the program, I get the following error message. Please advise. Thanks, Ananth
Arduino: 1.8.10 (Mac OS X), Board: “SparkFun Pro nRF52840 Mini, s140 6.1.1 r0, Level 0 (Release)”
In file included from /Users/asankara/Library/Arduino15/packages/adafruit/hardware/nrf52/0.14.0/cores/nRF5/Arduino.h:63:0,
from sketch/Example6_ReadTemperature.ino.cpp:1:
/Users/asankara/Library/Arduino15/packages/adafruit/hardware/nrf52/0.14.0/cores/nRF5/delay.h:28:10: fatal error: variant.h: No such file or directory
#include “variant.h”
^~~~~~~~~~~
compilation terminated.
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.