That's probably going to be a whole other chunk of work I'm afraid. You'll basically be starting from scratch as all of Espruino's USB HID code is STM32 specific.
So the keyword were "realistically" and "properly"?
As I understand it, USB only really became properly supported in 15 (I believe it was pretty flaky before). I did have a build for nRF52840 on SDK14 but USB never worked.
But I could be wrong - you're welcome to give it a try yourself.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's probably going to be a whole other chunk of work I'm afraid. You'll basically be starting from scratch as all of Espruino's USB HID code is STM32 specific.
As I understand it, USB only really became properly supported in 15 (I believe it was pretty flaky before). I did have a build for nRF52840 on SDK14 but USB never worked.
But I could be wrong - you're welcome to give it a try yourself.