]> git.sur5r.net Git - freertos/blobdiff - Source/include/portable.h
Add in first STM32 demo.
[freertos] / Source / include / portable.h
index a1c20ddc7df15f4af18ced497a46f10a988460f2..3c2fa6d15f9598ae74c85fa39273057c6382b27f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.2.1 - 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
        #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