This repository contains the files needed to add the sparkfun MicroMod NRF52 to the PlatformIO IDE using the Adafruit NRF52 core instead of the Arduino Nano 33 BLE core that sparkfun specifies in their guide. Using the adafruit core gives the micromod access to the BluefruitNRF52 library which has many more examples and easy to use API compared to the Nano 33 libraries.
- Add "SF_MM_nRF52840_PB" folder to -> .platformio/packages/framework-arduinoadafruitnrf52/variants
- Add "sparkfun_micromod_nrf52840.json" file to -> .platformio/platforms/nordicnrf52/boards
- Copy text from "boards.txt" file and paste the text into the bottom of the -> .platformio/packages/framework-arduinoadafruitnrf52/boards.txt file.
- Go to https://github.com/adafruit/Adafruit_nRF52_Bootloader
- Under the latest release, click on the file to download (you may have to click on the link that says "show all assets" first) : update-sparkfun_nrf52840_micromod_bootloader-0.x.x_nosd.uf2
- On your micromod board, double click the reset button and you should see a drive appear on your computer
- drag the uf2 file to the drive. Once you do that, the drive will automatically eject itself, meaning the bootloader has now been updated.