/*\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
\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
-#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 57600000 ) /* =12Mhz xtal multiplied by 5 using the PLL. */\r
+#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 48000000 ) /* =12Mhz xtal multiplied by 5 using the PLL. */\r
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )\r
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 )\r
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 104 )\r