I was wondering if there's any USB stack on the nRF boards or the MDBT42Q ?
No, there's no USB at all on the nRF52832. There is on the nRF52840, but apart from a few test builds I have nothing targeting those, and while I had a USB serial test, USB HID gamepad support is miles off.
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.
Not really. However http://www.espruino.com/STM32L496GDISCOVÂERY has a bunch of pins, is fast, and has loads of RAM.
No, there's no USB at all on the nRF52832. There is on the nRF52840, but apart from a few test builds I have nothing targeting those, and while I had a USB serial test, USB HID gamepad support is miles off.
You could just print
sizeof(your_struct)
?