# MakeCode for nRF52840?

**URL:** <https://forum.makecode.com/t/makecode-for-nrf52840/1164>\
**Category:** Maker\
**Created:** [February 5, 2020, 10:58pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164 "2020-02-05T22:58:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 5, 2020, 10:58pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/1 "2020-02-05T22:58:34Z")

</div>

Will MakeCode be able to support the nRF52840 chip or other modules using this particular chip?

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [February 6, 2020, 7:17am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/2 "2020-02-06T07:17:14Z")

</div>

We just merged support for 840 feather. Feel free to PR any other board.

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 6, 2020, 12:46pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/3 "2020-02-06T12:46:41Z")

</div>

Thank you @mmoskal. I’ll try them this weekend with the N840 dongle and Feather N840. 🤗

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 7, 2020, 12:45pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/4 "2020-02-07T12:45:10Z")

</div>

btw, where can I find the working source for the bootloader?

I found [https://github.com/microsoft/uf2-nrf5](https://github.com/microsoft/uf2-nrf5) but I was warned:

> **Warning** : This project was never fully functional. Please use [https://github.com/adafruit/Adafruit\_nRF52\_Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader)

So I tried to follow the recommendation and got this when compiling for **pca10059**.

 ![uf2-nRF52 for pca1059](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/399daf204340d737177f1f16219d273463d38bbd.png)

I also had the same errors with

> BOARD=feather\_nrf52840\_express

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [February 7, 2020, 5:17pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/5 "2020-02-07T17:17:34Z")

</div>

The Adafruit NRF bootloader (which is indeed the one to use) was building for me a few days ago. I suggest you file an issue there.

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 8, 2020, 4:14pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/6 "2020-02-08T16:14:40Z")

</div>

I submitted an issue on Github, [#109](https://github.com/adafruit/Adafruit_nRF52_Bootloader/issues/109)

Re-cloning the repo fixed the problem.

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 12, 2020, 5:35am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/7 "2020-02-12T05:35:29Z")

</div>

Update on testing nRF52840 boards:  
1.) Feather nRF52840 Express - blinky works.  
2.) Circuit Playground Bluefruit - blinky won’t compile.

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [February 12, 2020, 6:34am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/8 "2020-02-12T06:34:56Z")

</div>

We’ve also added the Arduino 33 nano BLE sense, blinking.

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [February 12, 2020, 2:14pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/9 "2020-02-12T14:14:22Z")

</div>

How about the CLUE or nRF52840 USB dongle from Nordic Semi (pca10059)?

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [February 12, 2020, 5:14pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/10 "2020-02-12T17:14:48Z")

</div>

We haven’t looked at those. Feel free to send us a PR in maker to support those.

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.makecode.com/u/Pat)\
**Post date:** [February 13, 2020, 11:16pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/11 "2020-02-13T23:16:30Z")

</div>

I am new to this but have the new Clue board from adafruit how do I send a PR to have this board added?? thanks for the help

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [February 14, 2020, 4:28pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/12 "2020-02-14T16:28:57Z")

</div>

Here are the instructions on how to add a board to maker.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 14, 2020, 6:41pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/13 "2020-02-14T18:41:28Z")

</div>

Here’s the link: [https://maker.makecode.com/boards/add-a-new-board](https://maker.makecode.com/boards/add-a-new-board)

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [April 29, 2020, 11:35pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/14 "2020-04-29T23:35:46Z")

</div>

Is there a MakeCode Arcade support for nRF52840 too?

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [April 30, 2020, 4:35am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/15 "2020-04-30T04:35:31Z")

</div>

Yes, experimental. You need to enable it in About-\>Experiments. You’ll see support for N4 which is NRF52840. You will need a bootloader with your specific pinout for buttons and screen, there’s an example here: [https://github.com/adafruit/Adafruit\_nRF52\_Bootloader/tree/master/src/boards/arcade\_feather\_nrf52840\_express](https://github.com/adafruit/Adafruit_nRF52_Bootloader/tree/master/src/boards/arcade_feather_nrf52840_express)

There are no ready-made boards yet though…

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [April 30, 2020, 6:00am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/16 "2020-04-30T06:00:39Z")

</div>

Whoa… that’s awesome!  
I’ll give it a try.

Thank you @mmoskal.

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [May 1, 2020, 2:36am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/17 "2020-05-01T02:36:54Z")

</div>

I have enabled experiments on [arcade.makecode.com](http://arcade.makecode.com) but I don’t see N4 on the list of hardware when downloading the code to a device.

 ![N4](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/2f96ea3d05eeae41cfadc926a9632746d73ecafd.jpeg)

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [May 1, 2020, 5:01am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/18 "2020-05-01T05:01:50Z")

</div>

Make sure to use the beta

---

<div class="post-metadata">

**Author:** ![204maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/204maker/32/447_2.png) [@204maker](https://forum.makecode.com/u/204maker)\
**Post date:** [May 2, 2020, 11:42pm UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/19 "2020-05-02T23:42:36Z")

</div>

I’m getting this error today with no display on the ILI9341 3.2" LCD.  
The experiment mode was enabled on [MakeCode Arcade BETA](https://arcade.makecode.com/beta#).

![Falling Duck error](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/55d628a76e4bfd9ca3839923e1859e24f5ecbb11.png)

Here’s the [UF2 patch](https://pastebin.com/PHgeewjg) I used.  
The patch was created using the hex to UF2 Python conversion script found on [Adafruit’s nRF52840 repo](https://github.com/adafruit/Adafruit_nRF52_Bootloader).  
The display config was modified for the 320x240 ILI9341 LCD.

---

<div class="post-metadata">

**Author:** ![TinkeringTech](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@TinkeringTech](https://forum.makecode.com/u/TinkeringTech)\
**Post date:** [July 17, 2020, 3:22am UTC](https://forum.makecode.com/t/makecode-for-nrf52840/1164/20 "2020-07-17T03:22:51Z")

</div>

Apologies for reviving this old thread. I’m also trying to get makecode arcade running on a nRF52840 based platform and have the Adafruit .uf2 bootloader on the board. However, when I get the ping game .uf2 and drop it into the board, nothing happens. Is this the correct bootloader?

I noticed that Adafruit has arcade based bootloaders for their platforms [https://learn.adafruit.com/makecode-arcade-with-samd51-m4/bootloader](https://learn.adafruit.com/makecode-arcade-with-samd51-m4/bootloader) so would the nRF52840 also need some special bootloader for makecode arcade?

When will nRF52840 be offically supported in makecode arcade?

I’m using the beta site with experiments enabled.  
thanks.

[Next page](https://forum.makecode.com/t/makecode-for-nrf52840/1164.md?page=2)
