]> git.sur5r.net Git - freertos/blobdiff - Source/include/portable.h
Add in first STM32 demo.
[freertos] / Source / include / portable.h
index 04677e69952061cb84775f4a8506ebc4cb7aaaa3..3c2fa6d15f9598ae74c85fa39273057c6382b27f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.2.0 - Copyright (C) 2003-2007 Richard Barry.\r
+       FreeRTOS.org V4.3.1 - Copyright (C) 2003-2007 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
@@ -27,6 +27,9 @@
        See http:www.FreeRTOS.org for documentation, latest information, license\r
        and contact details.  Please ensure to read the configuration and relevant\r
        port sections of the online documentation.\r
+\r
+       Also see http://www.SafeRTOS.com for an IEC 61508 compliant version along\r
+       with commercial development and support options.\r
        ***************************************************************************\r
 */\r
 \r
        #include "../../Source/portable/GCC/ARM_CM3/portmacro.h"\r
 #endif\r
 \r
+#ifdef IAR_ARM_CM3\r
+       #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
+#endif\r
+\r
 #ifdef IAR_ARMCM3_LM\r
        #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
 #endif\r
     typedef void ( __interrupt __far *pxISR )();\r
 #endif\r
 \r
-#if __GNUC__ && (__AVR32_UC3A0256__ || \\r
-                 __AVR32_UC3A0512__ || \\r
-                 __AVR32_UC3A1128__ || \\r
-                 __AVR32_UC3A1256__ || \\r
-                 __AVR32_UC3A1512__)\r
+#ifdef GCC_AVR32_PORT\r
        #include "portmacro.h"\r
 #endif\r
 \r
-#if __ICCAVR32__ && (__AT32UC3A0256__ || \\r
-                     __AT32UC3A0512__ || \\r
-                     __AT32UC3A1128__ || \\r
-                     __AT32UC3A1256__ || \\r
-                     __AT32UC3A1512__)\r
+#ifdef IAR_AVR32_PORT\r
        #include "portmacro.h"\r
 #endif\r
 \r