Nice - ok, I've just added some code in for that. I didn't merge your code exactly as it was because actually there are some potentially bad side-effects of trying to execute JS in a IRQ (which can happen if you do NRF.restart() and then disconnect from BLE).
So @consolenaut you can now flash a cutting-edge build, then just run the following:
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.
Nice - ok, I've just added some code in for that. I didn't merge your code exactly as it was because actually there are some potentially bad side-effects of trying to execute JS in a IRQ (which can happen if you do
NRF.restart()
and then disconnect from BLE).So @consolenaut you can now flash a cutting-edge build, then just run the following:
Afterwards you should see
peek32(0x1000120c).toString(16) == "fffffffe"
and once you reboot the device you'll have the NFC pins available.