aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_SAM7_P256/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/OLIMEX_SAM7_P256/board.h')
-rw-r--r--boards/OLIMEX_SAM7_P256/board.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/boards/OLIMEX_SAM7_P256/board.h b/boards/OLIMEX_SAM7_P256/board.h
index 0e2a3d783..65877652d 100644
--- a/boards/OLIMEX_SAM7_P256/board.h
+++ b/boards/OLIMEX_SAM7_P256/board.h
@@ -71,4 +71,14 @@
#define PIOA_MMC_NPCS0 11
#define PIOA_MMC_NPCS0_MASK (1 << PIOA_MMC_NPCS0_MASK)
+#if !defined(_FROM_ASM_)
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void boardInit(void);
+#ifdef __cplusplus
+}
+#endif
+#endif /* _FROM_ASM_ */
+
#endif /* _BOARD_H_ */