From e2ca03bcdb733ea7b3fc7b73fc7c3bb63c4a832a Mon Sep 17 00:00:00 2001
From: Christian Mehlis <mehlis@inf.fu-berlin.de>
Date: Sun, 20 Oct 2013 17:54:31 +0200
Subject: [PATCH] define radiopacket_length_t in board.h

---
 avsextrem/include/board.h      | 2 ++
 chronos/include/board.h        | 2 ++
 msb-430/include/board.h        | 2 ++
 msb-430h/include/board.h       | 2 ++
 msba2/include/board.h          | 2 ++
 native/include/board.h         | 2 ++
 olimex_lpc2148/include/board.h | 2 ++
 pttu/include/board.h           | 2 ++
 telosb/include/board.h         | 2 ++
 wsn430-v1_3b/include/board.h   | 2 ++
 wsn430-v1_4/include/board.h    | 2 ++
 11 files changed, 22 insertions(+)

diff --git a/avsextrem/include/board.h b/avsextrem/include/board.h
index 64f8bc3205..ac3cfd7717 100644
--- a/avsextrem/include/board.h
+++ b/avsextrem/include/board.h
@@ -59,6 +59,8 @@
 
 void init_clks1(void);
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif /* BOARDCONF_H_ */
 
diff --git a/chronos/include/board.h b/chronos/include/board.h
index 3186b63316..f4230f7a8d 100644
--- a/chronos/include/board.h
+++ b/chronos/include/board.h
@@ -7,4 +7,6 @@
 #define MSP430_HAS_DCOR             1
 #define MSP430_HAS_EXTERNAL_CRYSTAL 1
 
+typedef uint8_t radio_packet_length_t;
+
 #endif // _MSB_BOARD_H
diff --git a/msb-430/include/board.h b/msb-430/include/board.h
index 56c24a5461..286de9fc59 100644
--- a/msb-430/include/board.h
+++ b/msb-430/include/board.h
@@ -66,5 +66,7 @@ and the mailinglist (subscription via web site)
 
 #include <msp430x16x.h>
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // _MSB_BOARD_H
diff --git a/msb-430h/include/board.h b/msb-430h/include/board.h
index d9634d6b4d..fe8d49abb6 100644
--- a/msb-430h/include/board.h
+++ b/msb-430h/include/board.h
@@ -66,5 +66,7 @@ and the mailinglist (subscription via web site)
 
 #include <msp430x16x.h>
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // _MSB_BOARD_H
diff --git a/msba2/include/board.h b/msba2/include/board.h
index fb64f0095e..fc16380df8 100644
--- a/msba2/include/board.h
+++ b/msba2/include/board.h
@@ -17,4 +17,6 @@
 
 void init_clks1(void);
 
+typedef uint8_t radio_packet_length_t;
+
 #endif /* __BOARD_H */
diff --git a/native/include/board.h b/native/include/board.h
index f4797f2060..9665094f37 100644
--- a/native/include/board.h
+++ b/native/include/board.h
@@ -27,3 +27,5 @@ void _native_LED_RED_ON(void);
 #define LED_RED_ON (_native_LED_RED_ON())
 void _native_LED_RED_TOGGLE(void);
 #define LED_RED_TOGGLE (_native_LED_RED_TOGGLE())
+
+typedef uint16_t radio_packet_length_t;
diff --git a/olimex_lpc2148/include/board.h b/olimex_lpc2148/include/board.h
index eaf536b005..c79b46b368 100644
--- a/olimex_lpc2148/include/board.h
+++ b/olimex_lpc2148/include/board.h
@@ -1 +1,3 @@
 #include <lpc2148.h>
+
+typedef uint8_t radio_packet_length_t;
diff --git a/pttu/include/board.h b/pttu/include/board.h
index 850f8d1d17..ba7b3f42bf 100644
--- a/pttu/include/board.h
+++ b/pttu/include/board.h
@@ -52,5 +52,7 @@ void init_clks1(void);
 void init_clks2(void);
 void bl_init_clks(void);
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // __BOARD_H
diff --git a/telosb/include/board.h b/telosb/include/board.h
index 18b064d172..5fc3151e9c 100644
--- a/telosb/include/board.h
+++ b/telosb/include/board.h
@@ -54,5 +54,7 @@
 
 #include <msp430x16x.h>
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // _TELOSB_BOARD_H
diff --git a/wsn430-v1_3b/include/board.h b/wsn430-v1_3b/include/board.h
index ee09d10169..466df39adc 100644
--- a/wsn430-v1_3b/include/board.h
+++ b/wsn430-v1_3b/include/board.h
@@ -57,5 +57,7 @@
 
 #include <msp430x16x.h>
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // _WSN_BOARD_H
diff --git a/wsn430-v1_4/include/board.h b/wsn430-v1_4/include/board.h
index 3cb86d1366..5ffbf8049a 100644
--- a/wsn430-v1_4/include/board.h
+++ b/wsn430-v1_4/include/board.h
@@ -57,5 +57,7 @@
 
 #include <msp430x16x.h>
 
+typedef uint8_t radio_packet_length_t;
+
 /** @} */
 #endif // _WSN_BOARD_H
-- 
GitLab