Help creating board header file for nRF5 SDK.

Hello,

I was following the tutorial “[nRF52840 Advanced Development With the nRF5 SDK.” I have an [Adafruit Circuit Playground Bluefruit which also uses the nRF52840 chip. I might be doing all this work for nothing but I got to the point in the tutorial where you have the user download the sparkfun_nrf52840_mini.h board definition.

My question is this. Could a technician provide details explaining what each of the #define statements in the header file mean so I can replace the SparkFun board pin numbers with the Adafruit board pin numbers.

If the tutorial wouldn’t even work for this board please let me down easy so I don’t feel so bad. :stuck_out_tongue:

I would really love to use the nRF5 SDK to do some development that isn’t possible in the Arduino IDE or with Circuit Python. I especially want to try to use the nRF5 SDK for Mesh.

Thank You,

Rose Peach](Overview | Adafruit Circuit Playground Bluefruit | Adafruit Learning System)](https://learn.sparkfun.com/tutorials/nrf52840-advanced-development-with-the-nrf5-sdk#introduction)

I had quick look and it looks to be a standard board definition. I checked on https://learn.adafruit.com/adafruit-cir … port-setup to see what board should be selected for the Circuit playground. If you follow that and select the circuit board it will automatically select a file with the correct information. Attached I have copied that variant.h that should be selected for info

it does not seem to like the earlier attached variant.h, I have renamed to variant.txt

variant.txt (3.99 KB)