I'm sorry but I can't provide free support to help you modify Espruino for use in your commercial product. If you're interested in paying for my time supporting you then I could help though.
With your initial non-DFU build there may be some issue with your compiler or the code you have added. For example, nrf52dk builds from http://www.espruino.com/binaries/travis/master/ should allow you to just copy the hex file to the mbed drive and they will work straight away. To build them all you need to do is make clean && BOARD=NRF52832DK RELEASE=1 make, so if that's not working I'd start from a fresh, unmodified git project and see if that works.
If a fresh checkout from Git fails, I'd guess there may be a compiler issue?
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.
I'm sorry but I can't provide free support to help you modify Espruino for use in your commercial product. If you're interested in paying for my time supporting you then I could help though.
With your initial non-DFU build there may be some issue with your compiler or the code you have added. For example, nrf52dk builds from http://www.espruino.com/binaries/travis/master/ should allow you to just copy the hex file to the mbed drive and they will work straight away. To build them all you need to do is
make clean && BOARD=NRF52832DK RELEASE=1 make
, so if that's not working I'd start from a fresh, unmodified git project and see if that works.If a fresh checkout from Git fails, I'd guess there may be a compiler issue?