[riot-notifications] [RIOT-OS/RIOT] cpu/cortexm: force irq state variable to RAM in cortexm_sleep() (#8518)

Francisco Acosta notifications at github.com
Tue Feb 6 11:57:19 CET 2018


> I would prefer if we could find out why r0 is lost on resume from sleep. Is there a hardware issue with these CPUs or is there a bug in the implementation of one of the ISRs in the periph drivers?

As fas as I can tell any interrupt would cause the hardfault (e.g. hello-world example "works", but if you type something in the terminal it hardfaults), thus I'd discard the possibility of a faulty periph implementation.

I'd also like to get #8402 in since it also helps in this situation, actually I thought it would solve the original problem but unfortunately not. The same with #8403. I can debug more to see the "real" source, if there's one, but for now I'd like to have the platform working again before doing "major" reworking on clock and pm.

-- 
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#issuecomment-363387207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180206/195590fa/attachment.html>


More information about the notifications mailing list