[riot-notifications] [RIOT-OS/RIOT] cpu/fe310: interrupt handling cleanup (#12276)

kenrabold notifications at github.com
Mon Sep 23 20:56:32 CEST 2019


kenrabold commented on this pull request.



>  /** @} */
 
 /**
  * @brief Size of context switch frame
  */
-#define CONTEXT_FRAME_SIZE (a7_OFFSET + 4)
+#define CONTEXT_FRAME_SIZE (pad_OFFSET + 12)

No because `CONTEXT_FRAME_SIZE` needs to be used in the assembly code interrupt trap handler in intr.S file. The `sizeof()` won't be recognized by the assembler.

-- 
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/12276#discussion_r327276589
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190923/344e086d/attachment-0001.htm>


More information about the notifications mailing list