Hi,
"wait" hangs when running the mbed blinky example, build in develop or release, on nrf52840. The program is flashed with a J-Link and the program runs OK at first, but after a reboot the program hangs at the first wait.
I have tested to comment out __WFE in "targets/TARGET_NORDIC/TARGET_NRF5/sleep.c" and then the program doesn't hang, but the CPU doesn't sleep either.