diff options
author | ukw | 2016-01-12 12:09:16 +0000 |
---|---|---|
committer | ukw | 2016-01-12 12:09:16 +0000 |
commit | ea29682a628ac3c4d30a4c34a30a00f01c3fb0bd (patch) | |
tree | e18076026a66554bc8e1c8471d7d604951d571be /irmpsystem.h | |
parent | 173b00a6f5d5c604471f9755d80c9181da15133c (diff) | |
download | irmp-ea29682a628ac3c4d30a4c34a30a00f01c3fb0bd.zip |
Version 3.0: corrected ESP8266 port, added MBED port, added several main example files
git-svn-id: svn://mikrocontroller.net/irmp@174 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmpsystem.h')
-rw-r--r-- | irmpsystem.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/irmpsystem.h b/irmpsystem.h index 2f02907..cef563b 100644 --- a/irmpsystem.h +++ b/irmpsystem.h @@ -3,7 +3,7 @@ *
* Copyright (c) 2009-2015 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmpsystem.h,v 1.21 2015/11/18 08:27:50 fm Exp $
+ * $Id: irmpsystem.h,v 1.22 2016/01/12 11:53:34 fm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -61,6 +61,9 @@ # define TEENSY_ARM_CORTEX_M4
#elif defined(unix) || defined(WIN32) || defined(__APPLE__) // Unix/Linux or Windows or Apple
# define UNIX_OR_WINDOWS
+#elif defined(__MBED__) // mbed platform
+// #include "mbed.h" // if mbed.h is used, source must be compiled as cpp
+#include "gpio_api.h"
#else
# define ATMEL_AVR // ATMEL AVR
#endif
@@ -142,6 +145,10 @@ typedef unsigned short uint16_t; # define PROGMEM
# define memcpy_P memcpy
+#elif defined(__MBED__)
+# define PROGMEM
+# define memcpy_P memcpy
+
#else
# define PROGMEM
# define memcpy_P memcpy
|