1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openwsn/patches/0005-bsp-boards-toolchain_defs.h-comment-out-conflict-ISR.patch
Francisco Molina 5c26f53828
pkg/openwsn: add openwsn_sock_udp module
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00

44 lines
1.4 KiB
Diff

From 9a0c7499639d096800d22b31fd81db384c7205c5 Mon Sep 17 00:00:00 2001
From: Francisco Molina <femolina@uc.cl>
Date: Thu, 2 Apr 2020 16:04:29 +0200
Subject: [PATCH 05/11] bsp/boards/toolchain_defs.h: comment out conflict ISR
definitions
The ISR definition conflicts with AVR ISR definitions.
---
bsp/boards/toolchain_defs.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/bsp/boards/toolchain_defs.h b/bsp/boards/toolchain_defs.h
index afcbcbf6..e288e52e 100644
--- a/bsp/boards/toolchain_defs.h
+++ b/bsp/boards/toolchain_defs.h
@@ -16,15 +16,15 @@
//===== ISR and pragma
-#if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<=5) && defined(__MSP430__)
- // mspgcc <4.5.x
- #include <signal.h>
- #define ISR(v) interrupt (v ## _VECTOR) v ## _ISR(void)
-#else
- // other
- #define __PRAGMA__(x) _Pragma(#x)
- #define ISR(v) __PRAGMA__(vector=v ##_VECTOR) __interrupt void v ##_ISR(void)
-#endif
+// #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<=5) && defined(__MSP430__)
+// // mspgcc <4.5.x
+// #include <signal.h>
+// #define ISR(v) interrupt (v ## _VECTOR) v ## _ISR(void)
+// #else
+// // other
+// #define __PRAGMA__(x) _Pragma(#x)
+// #define ISR(v) __PRAGMA__(vector=v ##_VECTOR) __interrupt void v ##_ISR(void)
+// #endif
//===== inline
--
2.28.0