[riot-notifications] [RIOT-OS/RIOT] cpu/cortexm: add __NOP(); after __WFI(); for stm32l152 to avoid hardfault (#8518)

Kaspar Schleiser notifications at github.com
Mon Feb 12 14:18:40 CET 2018


kaspar030 requested changes on this pull request.



> @@ -107,6 +107,14 @@ static inline void cortexm_sleep(int deep)
     unsigned state = irq_disable();
     __DSB();
     __WFI();
+    /*

Let's move the comment into the ifdef, and make it a little shorter. E.g.:
```
/* STM32L152RE crashes without this __NOP(). See #8518. */
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8518#pullrequestreview-95785394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180212/10656ade/attachment-0001.html>


More information about the notifications mailing list