]> git.sur5r.net Git - freertos/blobdiff - Demo/ARM7_LPC2368_Eclipse/RTOSDemo/FreeRTOSConfig.h
Ready for V5.1.1 release.
[freertos] / Demo / ARM7_LPC2368_Eclipse / RTOSDemo / FreeRTOSConfig.h
index b620c45bce3b7af71462538a6fc3457329be082d..445067ca0b5fd110cd6fb109443bcb33230c98f8 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS V4.6.1 - Copyright (C) 2003-2005 Richard Barry.\r
+       FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
 \r
        This file is part of the FreeRTOS distribution.\r
 \r
@@ -35,6 +35,7 @@
 \r
 #include <stdio.h>\r
 #include "lpc23xx.h"\r
+\r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
  *\r
  *\r
  * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
  * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. \r
+ *\r
+ * See http://www.freertos.org/a00110.html.\r
  *----------------------------------------------------------*/\r
 \r
+/* Value to use on old rev '-' devices. */\r
+//#define configPINSEL2_VALUE  0x50151105\r
+\r
+/* Value to use on rev 'A' and newer devices. */\r
+//#define configPINSEL2_VALUE  0x50150105\r
+\r
+#ifndef configPINSEL2_VALUE\r
+       #error Please uncomment one of the two configPINSEL2_VALUE definitions above, depending on the revision of the LPC2000 device being used.\r
+#endif\r
+\r
 #define configUSE_PREEMPTION           1\r
 #define configUSE_IDLE_HOOK         0\r
 #define configUSE_TICK_HOOK         1\r