Skip to content

Conversation

@eyJhb
Copy link

@eyJhb eyJhb commented Nov 24, 2025

Adds support for the nrf52840 dongle using the default bootloader.
It disables the following things from prj.conf as a override

CONFIG_USE_DT_CODE_PARTITION=n
CONFIG_NVS=n

If either of these are enabled, the board will not work.
Besides this, it adds a overlay to get the correct LED colors on the device.

I've tried to add a basic workflow for Github actions, however, I had issues with remapper.zip not showing up outside of docker in the actions, but it was there on my own PC? It might be something funky with Podman, so I didn't investigate it further. And the entrypoint for the nrf docker image is weird, so I had to override it to make this work.

I tried to add some basic documentation, but I'm unsure if this is the best way to go about it.

But otherwise, it seems to be fully working and should resolve #204 .

EDIT: I fixed the github actions workflow, so that should work now :)

@eyJhb eyJhb force-pushed the add-nrf52840-dongle-support branch from 5076b74 to 1d39f1f Compare November 24, 2025 14:14
@eyJhb
Copy link
Author

eyJhb commented Nov 24, 2025

Example build attached here, and can be found here https://github.com/eyJhb/hid-remapper/actions/runs/19637385648 :)

artifact-nrf52840dongle_nrf52840.zip

@eyJhb
Copy link
Author

eyJhb commented Nov 24, 2025

For some reason media keys does not seem to work, e.g.

0x00070081 -> volume down
0x00070080 -> volume up
0x0007007f -> volume mute
0x000700e8 -> play/pause
0x000700ea -> prev track
0x000700eb -> next track

But I don't think that's an issue with this PR, but rather how my Glove80 sends this information.

@eyJhb
Copy link
Author

eyJhb commented Dec 2, 2025

It doesn't seem like it persists the settings when powered down. I'll try to investigate that.

@eyJhb
Copy link
Author

eyJhb commented Dec 16, 2025

It doesn't seem like it persists the settings when powered down. I'll try to investigate that.

I've defaulted the settings backend for nrf52840dongle to just use FCB. It works out of the box, but ideally it should use nvs instead. But I'm not really sure what's happening, and I am not able to debug the dongle.

@Tomaszal
Copy link

Could you maybe also add UF2 files for dongles that already have the bootloader? Would be great for some dongles with out of the box UF2 bootloader like these:

@eyJhb
Copy link
Author

eyJhb commented Dec 17, 2025

nrf52840_mdk_usb_dongle.zip

I've tried to do something. Does this uf2 work for you?

@Tomaszal
Copy link

Yep, can confirm that works!

@eyJhb
Copy link
Author

eyJhb commented Dec 17, 2025

Perfect. It will need to be a separate PR, as I had to update nrf-sdk as well. And it depends on if the maintainer of the project wants to get these PRs merged in. :)

EDIT: but at least you have something you can use now :)

@Tomaszal
Copy link

Makes sense, could you push it to a separate branch for now? Thanks!

@eyJhb
Copy link
Author

eyJhb commented Dec 17, 2025

@Tomaszal done :) Feel free to test the artifacts that I have linked to in the PR above ( #325 ).

@Tomaszal
Copy link

@eyJhb fantastic, thank you! Can confirm it works on MDBT50Q-RX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using with nrf52840 Dongle + default bootloader

2 participants