-
Notifications
You must be signed in to change notification settings - Fork 217
Add nrf52840 dongle support #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
0ca36f4 to
5076b74
Compare
5076b74 to
1d39f1f
Compare
|
Example build attached here, and can be found here https://github.com/eyJhb/hid-remapper/actions/runs/19637385648 :) |
|
For some reason media keys does not seem to work, e.g. But I don't think that's an issue with this PR, but rather how my Glove80 sends this information. |
|
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. |
|
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: |
|
I've tried to do something. Does this uf2 work for you? |
|
Yep, can confirm that works! |
|
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 :) |
|
Makes sense, could you push it to a separate branch for now? Thanks! |
|
@eyJhb fantastic, thank you! Can confirm it works on MDBT50Q-RX |
Adds support for the nrf52840 dongle using the default bootloader.
It disables the following things from prj.conf as a override
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.zipnot 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 :)