arduino-nRF5 icon indicating copy to clipboard operation
arduino-nRF5 copied to clipboard

nRF52840 MDK USB Dongle support

Open mischief opened this issue 4 years ago • 2 comments

hi, i have one of these: https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/

unfortunately programming it with nordic's SDK is a real pain and i'm not a fan.

would it be possible to support this board in this repo? if so, how can that be done? i am willing to try changes myself if given pointers or donate a board.

mischief avatar Oct 23 '20 21:10 mischief

You need to define the board in boards.txt file and define a variant in variants/_variant_name_/ folder (see other variants). Variants are pretty simple, you just define a pin mapping (nRF52840 pin numbers to arduino pin numbers) p2 -> D0, p3 -> D1, etc. And some aliases for common pins (leds, buttons). And that's pretty much it.

Antti avatar Nov 08 '20 22:11 Antti

https://github.com/sandeepmistry/arduino-nRF5/issues/395

JAndrassy avatar Dec 05 '20 16:12 JAndrassy