I'm currently trying to port some software to the nrf52840 dongle, and it works great, if I do not activate NVS.
As soon as I activate NVS, then the dongle shows no lifesigns (unable to see it in dmesg, no lights, etc.).
I suspect it has something to do with the offsets for the partitions, as I'm running the default bootloader that the device cames with.
Currently to make it build, I have changed the following things: https://github.com/eyJhb/hid-remapper/blob/add-nrf52840-dongle-support/firmware-bluetooth/boards/nrf52840dongle_nrf52840.conf
But doing this, it doesn't persist any configuration that is made runtime using the project.
I build it doing the following.
git clone -b add-nrf52840-dongle-support https://github.com/eyJhb/hid-remapper.git cd hid-remapper/firmware-bluetooth west build -b nrf52840dongle_nrf52840 nrfutil pkg generate --hw-version 52 --sd-req=0x00 --application build/zephyr/remapper.hex --application-version 1 remapper.zip && nrfutil dfu usb-serial -pkg remapper.zip -p /dev/ttyACM0
I'm using the 2.2 sdk in Docker with the image `nordicplayground/nrfconnect-sdk:v2.2-branch`.
I would appreciate any pointers that you might have, to get this running. I'm at my wits' end now. I tried to debug it on my DK board, but it opened many other issues instead.
The source for the project I'm experimenting on can be found here https://github.com/eyJhb/hid-remapper/tree/add-nrf52840-dongle-support (keep in mind the branch).