Skip to content

Commit df8512a

Browse files
committed
Workaround for NCS36510 deepsleep bug
Arm compiler 6 optimized way too well, and adding 2 more nops did the trick
1 parent c232a8e commit df8512a

File tree

1 file changed

+2
-0
lines changed
  • targets/TARGET_ONSEMI/TARGET_NCS36510

1 file changed

+2
-0
lines changed

targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ void fncs36510_deepsleep(void)
6666
__WFI();
6767
__NOP();
6868
__NOP();
69+
__NOP();
70+
__NOP();
6971

7072
/** Wait for the external 32MHz to be power-ed up & running
7173
* Re-power down the 32MHz internal osc

0 commit comments

Comments
 (0)