Build Bluetooth samples for NRF52840 USB dongle (nrf52840dongle_nrf52840) board

Hi 

I'm building the Bluetooth mesh light switch sample with nrf52840dongle_nrf52840 board option. As I am new to NRF connect sdk, I don't see anything preventing me to run this sample on the usb dongle as the dongle already has LEDs and one switch. The devicetree and macros in the sample code should already handle the difference between the DK and the dongle. 

However the sample code does work on the nrf52840, but when I build it with nrf52840dongle_nrf52840 , the code seems to keep resetting. 

What I should do to make it running on the NRF52840 USB dongle.

Parents Reply
  • Thanks. I followed the mentioned ticket and I was able to run the mesh sample on the dongle. 

    PushpinNote for others: Never run the mesh sample on the dongle without unprovisioning it properly using the "reset node" option in the Mesh App.  This will prevent the Mesh app from seeing the node even with a new firmware as the settings_storage section is not erased. However, I've mentioned in the mentioned ticket a trick I made to overcome this without the need of an external debugger. 

Children
Related