]> git.sur5r.net Git - freertos/commitdiff
New NEC port - work in progress.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 22 Jan 2009 10:59:24 +0000 (10:59 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 22 Jan 2009 10:59:24 +0000 (10:59 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@612 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

12 files changed:
Demo/NEC_V850ES_Fx3_IAR/FreeRTOSConfig.h [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.c [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.h [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/RegTest.s85 [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/main.c [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewd [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewp [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/rtosdemo.eww [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.cspy.bat [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dbgdt [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dni [new file with mode: 0644]
Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.wsdt [new file with mode: 0644]

diff --git a/Demo/NEC_V850ES_Fx3_IAR/FreeRTOSConfig.h b/Demo/NEC_V850ES_Fx3_IAR/FreeRTOSConfig.h
new file mode 100644 (file)
index 0000000..b00f5b5
--- /dev/null
@@ -0,0 +1,112 @@
+/*\r
+       FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
+\r
+       This file is part of the FreeRTOS.org distribution.\r
+\r
+       FreeRTOS.org is free software; you can redistribute it and/or modify\r
+       it under the terms of the GNU General Public License as published by\r
+       the Free Software Foundation; either version 2 of the License, or\r
+       (at your option) any later version.\r
+\r
+       FreeRTOS.org is distributed in the hope that it will be useful,\r
+       but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+       GNU General Public License for more details.\r
+\r
+       You should have received a copy of the GNU General Public License\r
+       along with FreeRTOS.org; if not, write to the Free Software\r
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+\r
+       A special exception to the GPL can be applied should you wish to distribute\r
+       a combined work that includes FreeRTOS.org, without being obliged to provide\r
+       the source code for any proprietary components.  See the licensing section \r
+       of http://www.FreeRTOS.org for full details of how and when the exception\r
+       can be applied.\r
+\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * SAVE TIME AND MONEY!  We can port FreeRTOS.org to your own hardware,    *\r
+    * and even write all or part of your application on your behalf.          *\r
+    * See http://www.OpenRTOS.com for details of the services we provide to   *\r
+    * expedite your project.                                                  *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
+       online documentation.\r
+\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
+\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
+\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
+*/\r
+\r
+#ifndef FREERTOS_CONFIG_H\r
+#define FREERTOS_CONFIG_H\r
+\r
+/* only include in C files */\r
+#ifdef __IAR_SYSTEMS_ICC__\r
+#pragma language=extended\r
+#pragma system_include\r
+\r
+#include <intrinsics.h>\r
+#include "io70f3385.h"\r
+\r
+#endif  /* __IAR_SYSTEMS_ICC__ */\r
+\r
+/* V850ES/Fx3 Memory Model\r
+ * 1 = Tiny data model\r
+ * 0 = Small/Large data model\r
+ */\r
+#define configDATA_MODE            0\r
+\r
+\r
+\r
+/*\r
+ * Application specific definitions.\r
+ *\r
+ * These definitions should be adjusted for your particular hardware and\r
+ * application requirements.\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
+#define configUSE_PREEMPTION           1\r
+/* only include in C files */\r
+#ifdef __IAR_SYSTEMS_ICC__\r
+\r
+#define configUSE_IDLE_HOOK            0\r
+#define configUSE_TICK_HOOK            0\r
+#define configCPU_CLOCK_HZ             ( ( unsigned portLONG ) 48000000 )  /* using the external clock source */\r
+#define configTICK_RATE_HZ             ( ( portTickType ) 1000 )\r
+#define configMAX_PRIORITIES           ( ( unsigned portBASE_TYPE ) 4 )\r
+#define configMINIMAL_STACK_SIZE       ( ( unsigned portSHORT ) 64 )\r
+#define configTOTAL_HEAP_SIZE          ( (size_t ) ( 9000 ) )\r
+#define configMAX_TASK_NAME_LEN                ( 10 )\r
+#define configUSE_TRACE_FACILITY       0\r
+#define configUSE_16_BIT_TICKS         0\r
+#define configIDLE_SHOULD_YIELD                1\r
+\r
+/* Co-routine definitions. */\r
+#define configUSE_CO_ROUTINES          0\r
+#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
+\r
+/* Set the following definitions to 1 to include the API function, or zero\r
+to exclude the API function. */\r
+#define INCLUDE_vTaskPrioritySet               0\r
+#define INCLUDE_uxTaskPriorityGet              0\r
+#define INCLUDE_vTaskDelete                    1\r
+#define INCLUDE_vTaskCleanUpResources          0\r
+#define INCLUDE_vTaskSuspend                   0\r
+#define INCLUDE_vTaskDelayUntil                        1\r
+#define INCLUDE_vTaskDelay                     1\r
+\r
+#endif /* __IAR_SYSTEMS_ICC__ */\r
+\r
+#endif /* FREERTOS_CONFIG_H */\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.c b/Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.c
new file mode 100644 (file)
index 0000000..739584e
--- /dev/null
@@ -0,0 +1,298 @@
+/*\r
+       FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
+\r
+       This file is part of the FreeRTOS.org distribution.\r
+\r
+       FreeRTOS.org is free software; you can redistribute it and/or modify\r
+       it under the terms of the GNU General Public License as published by\r
+       the Free Software Foundation; either version 2 of the License, or\r
+       (at your option) any later version.\r
+\r
+       FreeRTOS.org is distributed in the hope that it will be useful,\r
+       but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+       GNU General Public License for more details.\r
+\r
+       You should have received a copy of the GNU General Public License\r
+       along with FreeRTOS.org; if not, write to the Free Software\r
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+\r
+       A special exception to the GPL can be applied should you wish to distribute\r
+       a combined work that includes FreeRTOS.org, without being obliged to provide\r
+       the source code for any proprietary components.  See the licensing section \r
+       of http://www.FreeRTOS.org for full details of how and when the exception\r
+       can be applied.\r
+\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * SAVE TIME AND MONEY!  We can port FreeRTOS.org to your own hardware,    *\r
+    * and even write all or part of your application on your behalf.          *\r
+    * See http://www.OpenRTOS.com for details of the services we provide to   *\r
+    * expedite your project.                                                  *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
+       online documentation.\r
+\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
+\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
+\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
+*/\r
+\r
+/**\r
+ * This is a simple LED toggle test for the V850ES/Fx3.\r
+ *\r
+ * Creates two task that control one LED each. \r
+ *\r
+ * The first task toggles a LED with a frequency of 1Hz by using the vTaskDelay \r
+ * function. So the task is yielded for 1 seconed after each LED switch.\r
+ *\r
+ * The second LED also starts with a toggling frequency of 1Hz but this frequency\r
+ * can be increased by pushing the switch button conected to pin INTP0. \r
+ * When the switch is pushed it is detected by an interrupt. When the interrupt\r
+ * occurs a flag is set in the ISR and sent to the third task by using a queue. \r
+ * Therefore the  xQueueSendFromISR() function is called from within the ISR to\r
+ * write the flag value to the queue. The task uses the xQueueReceive() function\r
+ * to read the flag value from the queue.\r
+ * If the flag value changed from the last task activation the yield time for the\r
+ * second LED is incremented by 100ms. If the yield time reaches a time greater\r
+ * then 3 seconds it is set back to 1 second within task 3.\r
+ * \r
+ * Also a check function is implemented to check if the task still run properly\r
+ */\r
+\r
+/* Scheduler include files. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+\r
+/* Demo program include files. */\r
+#include "LED.h"\r
+#include "queue.h"\r
+#include "print.h"\r
+\r
+#define LEDToggleSTACK_SIZE (( unsigned portSHORT ) configMINIMAL_STACK_SIZE)\r
+#define SwitchSTACK_SIZE    (( unsigned portSHORT ) configMINIMAL_STACK_SIZE)\r
+#define LED_NUMBER_OF_TASKS   2 \r
+\r
+/* LED toggle wait time and check definitions */\r
+static portTickType LED1_Wait_Time   = 1000;\r
+static portTickType LED2_Wait_Time   = 1000;\r
+static portTickType SWITCH_Wait_Time = 50;\r
+\r
+/* Task function prototypes */\r
+static void vLEDToggleTask1  ( void *pvParameters );\r
+static void vLEDToggleTask2  ( void *pvParameters );\r
+static void vSWITCHDelayTask ( void *pvParameters );\r
+\r
+/* Port Initialization for LED's and Switch */\r
+static void prvLEDInit(void);\r
+\r
+/* Switch press counter */\r
+static unsigned portSHORT usClick = 0;\r
+/* Queue used for LED02 toggle*/ \r
+static xQueueHandle xSwitchQueue;\r
+\r
+/*xQUEUE *xLEDQueue;*/ \r
+\r
+static volatile unsigned portSHORT usTask1Check = 0, usTask2Check = 0, usTask3Check = 0, usLEDQueue = 0;\r
+\r
+void vStartLEDToggleTasks( unsigned portBASE_TYPE uxPriority )\r
+{\r
+\r
+const unsigned portBASE_TYPE uxQueueSize = 4;\r
+\r
+        prvLEDInit();\r
+\r
+       /* Create the queue used by the Switch ISR and the second task. */\r
+       xSwitchQueue = xQueueCreate( uxQueueSize, ( unsigned portBASE_TYPE ) sizeof( unsigned portSHORT ) );\r
+        /* create 2 LED toggle Tasks */\r
+        xTaskCreate(vLEDToggleTask1, "LEDTog1", LEDToggleSTACK_SIZE, ( void * ) &(usTask1Check), uxPriority, NULL );\r
+        xTaskCreate(vLEDToggleTask2, "LEDTog2", LEDToggleSTACK_SIZE, ( void * ) &(usTask2Check), uxPriority, NULL );  \r
+        xTaskCreate(vSWITCHDelayTask, "SWITCH", SwitchSTACK_SIZE, ( void * ) &xSwitchQueue, (uxPriority+1), NULL );  \r
+}\r
+/*---------------------------------------------------------------------------*/\r
+static void vLEDToggleTask1( void *pvParameters)\r
+{\r
+static portCHAR pcLED1old;\r
+static portCHAR LEDcounter1 = 0;\r
+portSHORT sError = pdFALSE;\r
+volatile unsigned portSHORT *pusTaskCheckVariable;\r
+const portCHAR * const pcTaskFailMsg = "ERROR: LED toggle failed.\r\n";\r
+  \r
+        pusTaskCheckVariable = ( unsigned portSHORT * ) pvParameters;  \r
+        for(;;)\r
+        {\r
+                pcLED1old = LED01;\r
+                LED01 = ~LED01;\r
+                LEDcounter1++;\r
+                vTaskDelay( LED1_Wait_Time );\r
+                /* toggle the LED01 */\r
+                \r
+                if(pcLED1old == LED01)\r
+                {\r
+                        /* an error has occured */\r
+                        vPrintDisplayMessage( &pcTaskFailMsg );\r
+                        sError = pdTRUE;\r
+                }\r
+                \r
+                if(sError != pdTRUE)\r
+                {\r
+                       /* If a LED toggle has been made, increment the check\r
+                       variable so we know this task is still running okay. */\r
+                       ( *pusTaskCheckVariable )++;\r
+                }\r
+        }              \r
+} \r
+/*-----------------------------------------------------------*/\r
+static void vLEDToggleTask2( void *pvParameters)\r
+{\r
+static portCHAR pcLED2old;\r
+portSHORT sError = pdFALSE;\r
+volatile unsigned portSHORT *pusTaskCheckVariable;\r
+const portCHAR * const pcTaskFailMsg = "ERROR: LED toggle failed.\r\n";\r
+  \r
+        pusTaskCheckVariable = ( unsigned portSHORT * ) pvParameters;  \r
+        for(;;)\r
+        {\r
+                pcLED2old = LED02;\r
+                /* toggle the LED02 */\r
+                LED02 = ~LED02;\r
+                vTaskDelay( LED2_Wait_Time );             \r
+                if(pcLED2old == LED02)\r
+                {\r
+                        /* an error has occured */\r
+                        vPrintDisplayMessage( &pcTaskFailMsg );\r
+                        sError = pdTRUE;\r
+                }\r
+                \r
+                if(sError != pdTRUE)\r
+                {\r
+                       /* If a LED toggle has been made, increment the check\r
+                       variable so we know this task is still running okay. */\r
+                       ( *pusTaskCheckVariable )++;\r
+                }\r
+        }              \r
+} \r
+/*-----------------------------------------------------------*/\r
+\r
+static void vSWITCHDelayTask( void *pvParameters)\r
+{\r
+unsigned portSHORT usData, usDataOld = 0;\r
+xQueueHandle *pxQueue;\r
\r
+        pxQueue = ( xQueueHandle * ) pvParameters;\r
+        for(;;)\r
+        {\r
+                if( xQueueReceive( *pxQueue, &usData, ( portTickType ) 0 ) == pdPASS )\r
+                {\r
+                        if (usData != usDataOld)\r
+                        {\r
+                                LED2_Wait_Time += 100;\r
+                                if(LED2_Wait_Time >= 3000)\r
+                                {\r
+                                    LED2_Wait_Time = 1000;\r
+                                }\r
+                        }\r
+                        usDataOld = usData;\r
+                }\r
+                vTaskDelay( SWITCH_Wait_Time );\r
+                /* increment check variable whenever the task gets active */\r
+                usTask3Check++;\r
+        }              \r
+}\r
+\r
+portBASE_TYPE xAreLEDToggleTaskStillRunning( void )\r
+{\r
+/* \r
+ * Keep a history of the check variables so we know if they have been incremented \r
+ * since the last call.\r
+ */\r
+static unsigned portSHORT usLastTask1Check = 0;\r
+static unsigned portSHORT usLastTask2Check = 0;\r
+static unsigned portSHORT usLastTask3Check = 0;\r
+portBASE_TYPE xReturn = pdTRUE;\r
+\r
+       /* Check the LED toggle tasks are still running by ensuring their check variables \r
+        * are still incrementing. \r
+         */\r
+       if(( usTask1Check == usLastTask1Check )||(usLastTask2Check == usTask2Check)||(usLastTask3Check == usTask3Check))\r
+       {\r
+               /* The check has not incremented so an error exists. */\r
+               xReturn = pdFALSE;\r
+       }\r
+\r
+       usLastTask1Check = usTask1Check;\r
+       usLastTask2Check = usTask2Check;\r
+       usLastTask3Check = usTask3Check;\r
+        \r
+        return xReturn;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static void prvLEDInit(void)\r
+{\r
+  \r
+       INTR0 = 0x00;\r
+       INTR1 = 0x00;\r
+       INTR3L = 0x00;\r
+       INTR3H = 0x00;\r
+       INTR4 = 0x00;\r
+       INTR6L = 0x00;\r
+       INTR6H = 0x00;\r
+       INTR8 = 0x00;\r
+       INTR9H = 0x00;\r
+       \r
+       INTF0 = 0x00;\r
+       INTF1 = 0x00;\r
+       INTF3L = 0x00;\r
+       INTF3H = 0x00;\r
+       INTF4 = 0x00;\r
+       INTF6L = 0x00;\r
+       INTF6H = 0x00;  \r
+       INTF8 = 0x00;\r
+       INTF9H = 0x00;  \r
+  \r
+/* LED Port Initialization */\r
+//        PCM = 0x00; \r
+       PMCM  = 0xF2;\r
+       PMCCM = 0x00;\r
+\r
+/* Switch Pin Initialization */        \r
+       /* INTP0 Setting */\r
+       PMK0 = 1;       /* INTP0 disable */\r
+       PIF0 = 0;       /* INTP0 IF clear */\r
+       /* Set INTP0 lowest priority */\r
+       PIC0 |= 0x07;\r
+       INTR0 |= 0x00;\r
+       INTF0 |= 0x08;\r
+       /* INTP0 pin set */\r
+       PFC0 &= 0xF7;\r
+        PFCE0 &= 0xF7;\r
+       PMC0 |= 0x08;\r
+       \r
+       PIF0 = 0;               /* INTP0 IF clear */\r
+       PMK0 = 0;               /* INTP0 enable */\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+/* Switch ISR */\r
+\r
+#pragma vector=INTP0_vector\r
+__interrupt void MD_INTP0(void)\r
+{\r
+        /* Increment Switch pressed counter */\r
+        usClick++;\r
+        /* Use usClick to signalize a detected Interrupt for the vLEDToggleTask2\r
+         * to toggle the LED02.\r
+         */\r
+        xQueueSendFromISR( xSwitchQueue, &usClick, pdFALSE );\r
+}\r
+/*-----------------------------------------------------------*/
\ No newline at end of file
diff --git a/Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.h b/Demo/NEC_V850ES_Fx3_IAR/LEDtoggle/LED.h
new file mode 100644 (file)
index 0000000..2440530
--- /dev/null
@@ -0,0 +1,61 @@
+/*\r
+       FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
+\r
+       This file is part of the FreeRTOS.org distribution.\r
+\r
+       FreeRTOS.org is free software; you can redistribute it and/or modify\r
+       it under the terms of the GNU General Public License as published by\r
+       the Free Software Foundation; either version 2 of the License, or\r
+       (at your option) any later version.\r
+\r
+       FreeRTOS.org is distributed in the hope that it will be useful,\r
+       but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+       GNU General Public License for more details.\r
+\r
+       You should have received a copy of the GNU General Public License\r
+       along with FreeRTOS.org; if not, write to the Free Software\r
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+\r
+       A special exception to the GPL can be applied should you wish to distribute\r
+       a combined work that includes FreeRTOS.org, without being obliged to provide\r
+       the source code for any proprietary components.  See the licensing section \r
+       of http://www.FreeRTOS.org for full details of how and when the exception\r
+       can be applied.\r
+\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * SAVE TIME AND MONEY!  We can port FreeRTOS.org to your own hardware,    *\r
+    * and even write all or part of your application on your behalf.          *\r
+    * See http://www.OpenRTOS.com for details of the services we provide to   *\r
+    * expedite your project.                                                  *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
+       online documentation.\r
+\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
+\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
+\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
+*/\r
+\r
+#ifndef LEDTOGGLE_TASKS_H\r
+#define LEDTOGGLE_TASKS_H\r
+\r
+void vStartLEDToggleTasks( unsigned portBASE_TYPE uxPriority );\r
+portBASE_TYPE xAreLEDToggleTaskStillRunning( void );\r
+/* LED Pin Configuration */\r
+static void prvLEDinit( void );\r
+\r
+#define LED01   PCM_bit.no3\r
+#define LED02   PCM_bit.no2\r
+\r
+#endif
\ No newline at end of file
diff --git a/Demo/NEC_V850ES_Fx3_IAR/RegTest.s85 b/Demo/NEC_V850ES_Fx3_IAR/RegTest.s85
new file mode 100644 (file)
index 0000000..97d3494
--- /dev/null
@@ -0,0 +1,355 @@
+;      FreeRTOS.org V5.0.2 - Copyright (C) 2003-2008 Richard Barry.\r
+;\r
+;      This file is part of the FreeRTOS.org distribution.\r
+;\r
+;      FreeRTOS.org is free software; you can redistribute it and/or modify\r
+;      it under the terms of the GNU General Public License as published by\r
+;      the Free Software Foundation; either version 2 of the License, or\r
+;      (at your option) any later version.\r
+;\r
+;      FreeRTOS.org is distributed in the hope that it will be useful,\r
+;      but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+;      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+;      GNU General Public License for more details.\r
+;\r
+;      You should have received a copy of the GNU General Public License\r
+;      along with FreeRTOS.org; if not, write to the Free Software\r
+;      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+;\r
+;      A special exception to the GPL can be applied should you wish to distribute\r
+;      a combined work that includes FreeRTOS.org, without being obliged to provide\r
+;      the source code for any proprietary components.  See the licensing section\r
+;      of http://www.FreeRTOS.org for full details of how and when the exception\r
+;      can be applied.\r
+;\r
+;      ***************************************************************************\r
+;      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
+;\r
+;------------------------------------------------------------------------------\r
+; Note: Select the correct include files for the device used by the application.\r
+\r
+       EXTERN  vRegTestFailed\r
+\r
+;------------------------------------------------------------------------------\r
+\r
+; Functions implemented in this file\r
+;------------------------------------------------------------------------------\r
+    PUBLIC     vRegTest1\r
+    PUBLIC     vRegTest2\r
+\r
+\r
+;------------------------------------------------------------------------------\r
+;------------------------------------------------------------------------------        \r
+    RSEG CODE:CODE\r
+vRegTest1:\r
+    MOV                0x01010101, R1\r
+    MOV                0x02020202, R2\r
+       ; Ignore R3 and R4 as these are the stack and global pointers respectively.\r
+       MOV             0x04040404, R5\r
+       MOV             0x05050505, R6\r
+       MOV             0x06060606, R7\r
+       MOV             0x07070707, R8\r
+       MOV             0x08080808, R9\r
+       MOV             0x09090909, R10\r
+       MOV             0x0a0a0a0a, R11\r
+       MOV             0x0b0b0b0b, R12\r
+       MOV             0x0c0c0c0c, R13\r
+       MOV             0x0d0d0d0d, R14\r
+       MOV             0x0e0e0e0e, R15\r
+       MOV             0x0f0f0f0f, R16\r
+       MOV             0x10101010, R17\r
+       MOV             0x11111111, R18\r
+       MOV             0x12121212, R19\r
+       MOV             0x13131313, R20\r
+       MOV             0x14141414, R21\r
+       MOV             0x15151515, R22\r
+       MOV             0x16161616, R23\r
+       MOV             0x17171717, R24\r
+#if ( configDATA_MODE == 1 )\r
+       ;R25 is used as a base register except when the tiny model is used. */\r
+       MOV             0x18181818, R25\r
+#endif\r
+       MOV             0x19191919, R26\r
+       MOV             0x20202020, R27\r
+       MOV             0x21212121, R28\r
+       MOV             0x22222222, R29\r
+       MOV             0x23232323, R30\r
+       \r
+vReg1TestLoopStart:\r
+       MOV             0x01010101, R31\r
+       CMP             R31, R1\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x02020202, R31\r
+       CMP             R31, R2\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x04040404, R31\r
+       CMP             R31, R5\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x05050505, R31\r
+       CMP             R31, R6\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x06060606, R31\r
+       CMP             R31, R7\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x07070707, R31\r
+       CMP             R31, R8\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x08080808, R31\r
+       CMP             R31, R9\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x09090909, R31\r
+       CMP             R31, R10\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0a0a0a0a, R31\r
+       CMP             R31, R11\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0b0b0b0b, R31\r
+       CMP             R31, R12\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0c0c0c0c, R31\r
+       CMP             R31, R13\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0d0d0d0d, R31\r
+       CMP             R31, R14\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0e0e0e0e, R31\r
+       CMP             R31, R15\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x0f0f0f0f, R31\r
+       CMP             R31, R16\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x10101010, R31\r
+       CMP             R31, R17\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x11111111, R31\r
+       CMP             R31, R18\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x12121212, R31\r
+       CMP             R31, R19\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x13131313, R31\r
+       CMP             R31, R20\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x14141414, R31\r
+       CMP             R31, R21\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x15151515, R31\r
+       CMP             R31, R22\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x16161616, R31\r
+       CMP             R31, R23\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x17171717, R31\r
+       CMP             R31, R24\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+#if ( configDATA_MODE == 1 )\r
+       MOV             0x18181818, R31\r
+       CMP             R31, R25\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+#endif\r
+       MOV             0x19191919, R31\r
+       CMP             R31, R26\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x20202020, R31\r
+       CMP             R31, R27\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x21212121, R31\r
+       CMP             R31, R28\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x22222222, R31\r
+       CMP             R31, R29\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0x23232323, R31\r
+       CMP             R31, R30\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             vReg1TestLoopStart, R31 \r
+       JMP             [R31]\r
+\r
+;------------------------------------------------------------------------------\r
+;------------------------------------------------------------------------------        \r
+    RSEG CODE:CODE\r
+vRegTest2:\r
+    MOV                0xa101010b, R1\r
+    MOV                0xa202020b, R2\r
+       ; Ignore R3 and R4 as these are the stack and global pointers respectively.\r
+       MOV             0xa404040b, R5\r
+       MOV             0xa505050b, R6\r
+       MOV             0xa606060b, R7\r
+       MOV             0xa707070b, R8\r
+       MOV             0xa808080b, R9\r
+       MOV             0xa909090b, R10\r
+       MOV             0xaa0a0a0b, R11\r
+       MOV             0xab0b0b0b, R12\r
+       MOV             0xac0c0c0b, R13\r
+       MOV             0xad0d0d0b, R14\r
+       MOV             0xae0e0e0b, R15\r
+       MOV             0xaf0f0f0b, R16\r
+       MOV             0xa010101b, R17\r
+       MOV             0xa111111b, R18\r
+       MOV             0xa212121b, R19\r
+       MOV             0xa313131b, R20\r
+       MOV             0xa414141b, R21\r
+       MOV             0xa515151b, R22\r
+       MOV             0xa616161b, R23\r
+       MOV             0xa717171b, R24\r
+#if ( configDATA_MODE == 1 )\r
+       ;R25 is used as a base register except when the tiny model is used. */\r
+       MOV             0xa818181b, R25\r
+#endif\r
+       MOV             0xa919191b, R26\r
+       MOV             0xa020202b, R27\r
+       MOV             0xa121212b, R28\r
+       MOV             0xa222222b, R29\r
+       MOV             0xa323232b, R30\r
+       \r
+vReg2TestLoopStart:\r
+       MOV             0xa101010b, R31\r
+       CMP             R31, R1\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa202020b, R31\r
+       CMP             R31, R2\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa404040b, R31\r
+       CMP             R31, R5\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa505050b, R31\r
+       CMP             R31, R6\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa606060b, R31\r
+       CMP             R31, R7\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa707070b, R31\r
+       CMP             R31, R8\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa808080b, R31\r
+       CMP             R31, R9\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa909090b, R31\r
+       CMP             R31, R10\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xaa0a0a0b, R31\r
+       CMP             R31, R11\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xab0b0b0b, R31\r
+       CMP             R31, R12\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xac0c0c0b, R31\r
+       CMP             R31, R13\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xad0d0d0b, R31\r
+       CMP             R31, R14\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xae0e0e0b, R31\r
+       CMP             R31, R15\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xaf0f0f0b, R31\r
+       CMP             R31, R16\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa010101b, R31\r
+       CMP             R31, R17\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa111111b, R31\r
+       CMP             R31, R18\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa212121b, R31\r
+       CMP             R31, R19\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa313131b, R31\r
+       CMP             R31, R20\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa414141b, R31\r
+       CMP             R31, R21\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa515151b, R31\r
+       CMP             R31, R22\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa616161b, R31\r
+       CMP             R31, R23\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa717171b, R31\r
+       CMP             R31, R24\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+#if ( configDATA_MODE == 1 )\r
+       MOV             0xa818181b, R31\r
+       CMP             R31, R25\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+#endif\r
+       MOV             0xa919191b, R31\r
+       CMP             R31, R26\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa020202b, R31\r
+       CMP             R31, R27\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa121212b, R31\r
+       CMP             R31, R28\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa222222b, R31\r
+       CMP             R31, R29\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             0xa323232b, R31\r
+       CMP             R31, R30\r
+       BZ              $+6\r
+       JARL    vRegTestFailed, lp\r
+       MOV             vReg2TestLoopStart, R31 \r
+       JMP             [R31]\r
+\r
+      END\r
+       
\ No newline at end of file
diff --git a/Demo/NEC_V850ES_Fx3_IAR/main.c b/Demo/NEC_V850ES_Fx3_IAR/main.c
new file mode 100644 (file)
index 0000000..2c40198
--- /dev/null
@@ -0,0 +1,253 @@
+/*\r
+       FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.\r
+\r
+       This file is part of the FreeRTOS.org distribution.\r
+\r
+       FreeRTOS.org is free software; you can redistribute it and/or modify\r
+       it under the terms of the GNU General Public License as published by\r
+       the Free Software Foundation; either version 2 of the License, or\r
+       (at your option) any later version.\r
+\r
+       FreeRTOS.org is distributed in the hope that it will be useful,\r
+       but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+       GNU General Public License for more details.\r
+\r
+       You should have received a copy of the GNU General Public License\r
+       along with FreeRTOS.org; if not, write to the Free Software\r
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+\r
+       A special exception to the GPL can be applied should you wish to distribute\r
+       a combined work that includes FreeRTOS.org, without being obliged to provide\r
+       the source code for any proprietary components.  See the licensing section \r
+       of http://www.FreeRTOS.org for full details of how and when the exception\r
+       can be applied.\r
+\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * SAVE TIME AND MONEY!  We can port FreeRTOS.org to your own hardware,    *\r
+    * and even write all or part of your application on your behalf.          *\r
+    * See http://www.OpenRTOS.com for details of the services we provide to   *\r
+    * expedite your project.                                                  *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
+       online documentation.\r
+\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
+\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
+\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
+*/\r
+\r
+#include <stdlib.h>\r
+#include <string.h>\r
+\r
+/* Scheduler include files. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+\r
+/* Demo file headers. */\r
+#include <intrinsics.h>\r
+#include "PollQ.h"\r
+#include "semtest.h"\r
+#include "print.h"\r
+#include "semtest.h"\r
+#include "led.h"\r
+#include "integer.h"\r
+\r
+/*\r
+ * Priority definitions for most of the tasks in the demo application.  Some\r
+ * tasks just use the idle priority.\r
+ */\r
+#define mainCHECK_TASK_PRIORITY        ( tskIDLE_PRIORITY + 2 )\r
+#define mainQUEUE_POLL_PRIORITY        ( tskIDLE_PRIORITY + 1 )\r
+#define mainSEMTEST_PRIORITY    ( tskIDLE_PRIORITY + 1 )\r
+#define mainLED_TOGGLE_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
+\r
+/* The period between executions of the check task. */\r
+#define mainCHECK_PERIOD       ( ( portTickType ) 3000 / portTICK_RATE_MS  )\r
+\r
+/* The task function for the "Check" task. */\r
+static void vErrorChecks( void *pvParameters );\r
+\r
+/*\r
+ * Checks the unique counts of other tasks to ensure they are still operational.\r
+ * Flashes an LED if everything is okay.\r
+ */\r
+static long prvCheckOtherTasksAreStillRunning( void );\r
+\r
+/* low level initialization prototype */\r
+unsigned portCHAR __low_level_init(void);\r
+\r
+extern void vRegTest1( void *pvParameters );\r
+extern void vRegTest2( void *pvParameters );\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+volatile portLONG lRegTestStatus = pdPASS;\r
+\r
+void vRegTestFailed( void )\r
+{\r
+       lRegTestStatus = pdFAIL;\r
+       for( ;; );\r
+}\r
+\r
+void main( void )\r
+{\r
+       /* Create some standard demo tasks. */\r
+//     vStartIntegerMathTasks( tskIDLE_PRIORITY );\r
+//     vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );\r
+//     vStartSemaphoreTasks(mainSEMTEST_PRIORITY);\r
+\r
+       /* Create a simple task that toggles a pin. */\r
+//     vStartLEDToggleTasks( mainLED_TOGGLE_PRIORITY );\r
+\r
+       /* Create the tasks defined within this file. */\r
+//     xTaskCreate( vErrorChecks, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
+\r
+//     vPrintInitialise();\r
+\r
+xTaskCreate( vRegTest1, "Check", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+xTaskCreate( vRegTest2, "Check", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+\r
+       /* Start the scheduler. */\r
+       vTaskStartScheduler();\r
+\r
+       /* If this line is reached then vTaskStartScheduler() returned because there\r
+       was insufficient heap memory remaining for the idle task to be created. */\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static void vErrorChecks( void *pvParameters )\r
+{\r
+volatile long lError = pdFALSE;\r
+\r
+       /* Just to remove the compiler warning. */\r
+       ( void ) pvParameters;\r
+\r
+       /* Cycle for ever, delaying then checking all the other tasks are still\r
+       operating without error. */\r
+       for( ;; )\r
+       {\r
+               /* Delay until it is time to check the other tasks again. */\r
+               vTaskDelay( mainCHECK_PERIOD );\r
+\r
+               if( prvCheckOtherTasksAreStillRunning() != pdPASS )\r
+               {\r
+                       lError = pdTRUE;\r
+                       \r
+                       /* Do something to indicate the error. */\r
+                       ( void ) lError;\r
+               }\r
+       }\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static long prvCheckOtherTasksAreStillRunning( void )\r
+{\r
+long lStatus = pdPASS;\r
+\r
+       if( xAreIntegerMathsTaskStillRunning() != pdPASS )\r
+       {\r
+               lStatus = pdFAIL;\r
+       }\r
+\r
+       if( xArePollingQueuesStillRunning() != pdPASS )\r
+       {\r
+               lStatus = pdFAIL;\r
+       }\r
+\r
+       if( xAreSemaphoreTasksStillRunning() != pdPASS )\r
+       {\r
+               lStatus = pdFAIL;\r
+       }\r
+\r
+       if( xAreLEDToggleTaskStillRunning() != pdPASS )\r
+       {\r
+               lStatus = pdFAIL;\r
+       }\r
+\r
+       return lStatus;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+unsigned portCHAR __low_level_init(void)\r
+{\r
+unsigned portCHAR resetflag = RESF;\r
+unsigned portCHAR psval = 0;\r
+\r
+       /* Setup provided by NEC. */\r
+\r
+       /* Disable global interrupts to ensure no interrupts occur during system\r
+       setup. */\r
+       portDISABLE_INTERRUPTS();\r
+\r
+       PRCMD = 0x00;\r
+       OCDM = 0x00;\r
+       VSWC = 0x12;\r
+       VSWC = 18;\r
+\r
+       /* Set main system clock */\r
+       OSTS = 0x06;\r
+       psval = 0x80;\r
+       PRCMD = psval;\r
+       PCC = psval;\r
+       while (!OSTC)\r
+       {\r
+               ;\r
+       }\r
+\r
+       PLLS = 0x03;\r
+       PLLON = 1;\r
+       while (LOCKR)\r
+       {\r
+               ;\r
+       }\r
+\r
+       psval = 0x01;\r
+       PRCMD = psval;\r
+       MCM = psval;\r
+       SELPLL = 1;\r
+\r
+       /* Set fCPU */\r
+       psval = PCC | 0x00;\r
+       PRCMD = psval;\r
+       PCC = psval;\r
+       RCM = 0x83;\r
+\r
+       /* Set fXP1 */\r
+       SELCNT4 = 0x00;\r
+\r
+       /* Set fBRG */\r
+       PRSM0 = 0x00;\r
+\r
+       /* Stand-by setting */\r
+       psval = 0x00;\r
+       PRCMD = psval;\r
+       PSC = psval;\r
+\r
+       /* WDT2 setting */\r
+       WDTM2 = 0x1F;\r
+\r
+       /* PCL setting */\r
+       PCLM = 0x00;\r
+\r
+       /* disable dma0 - dma3 */\r
+       E00 = 0;        \r
+       E11 = 0;\r
+       E22 = 0;\r
+       E33 = 0;        \r
+\r
+       return pdTRUE;\r
+}\r
+\r
+\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewd b/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewd
new file mode 100644 (file)
index 0000000..f6388d8
--- /dev/null
@@ -0,0 +1,735 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<project>\r
+  <fileVersion>2</fileVersion>\r
+  <configuration>\r
+    <name>Debug</name>\r
+    <toolchain>\r
+      <name>V850</name>\r
+    </toolchain>\r
+    <debug>1</debug>\r
+    <settings>\r
+      <name>C-SPY</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>12</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>CInput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CProcessor</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DynDriver</name>\r
+          <state>MICV850</state>\r
+        </option>\r
+        <option>\r
+          <name>GoToEnable</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GoToName</name>\r
+          <state>main</state>\r
+        </option>\r
+        <option>\r
+          <name>MacOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>MemOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MemFile</name>\r
+          <state>$TOOLKIT_DIR$\CONFIG\DDF\io70f3385.ddf</state>\r
+        </option>\r
+        <option>\r
+          <name>CMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DDDFileSlave</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CSpyExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CSpyExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>EMUV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>EMUMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUSmartStation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EmuDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EmuLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>IECV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>IECMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IECSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IECVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>MICV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>1</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>MICMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICVerifyLoad</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MICEraseFlash</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICMINICUBESpeed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MicDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MicLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>MICUseMini2</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>NWIV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>NWIMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWISuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWIVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWIEraseFlash</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWINWireSpeed</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>NwiDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NwiLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ROMV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>ROMMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMFastDownload</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Port</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Baud</name>\r
+          <version>0</version>\r
+          <state>7</state>\r
+        </option>\r
+        <option>\r
+          <name>Parity</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DataBits</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>StopBits</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Handshake</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AllComm</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>SIMV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>SIMMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMEnablePipe</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMDisableAlign</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMIllInstr</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>TKSV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>TKSMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TksDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TksLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>TksComPort</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <debuggerPlugins>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+    </debuggerPlugins>\r
+  </configuration>\r
+  <configuration>\r
+    <name>Release</name>\r
+    <toolchain>\r
+      <name>V850</name>\r
+    </toolchain>\r
+    <debug>0</debug>\r
+    <settings>\r
+      <name>C-SPY</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>12</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>CInput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CProcessor</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DynDriver</name>\r
+          <state>SIMV850</state>\r
+        </option>\r
+        <option>\r
+          <name>GoToEnable</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GoToName</name>\r
+          <state>main</state>\r
+        </option>\r
+        <option>\r
+          <name>MacOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>MemOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MemFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CMandatory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DDDFileSlave</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CSpyExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CSpyExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>EMUV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>EMUMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EMUSmartStation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EmuDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>EmuLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>IECV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>IECMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IECSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IECVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IecLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>MICV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>1</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>MICMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICEraseFlash</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MICMINICUBESpeed</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MicDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MicLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>MICUseMini2</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>NWIV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>NWIMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWISuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWIVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWIEraseFlash</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NWINWireSpeed</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>NwiDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NwiLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ROMV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>ROMMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMFastDownload</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ROMVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Port</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Baud</name>\r
+          <version>0</version>\r
+          <state>7</state>\r
+        </option>\r
+        <option>\r
+          <name>Parity</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>DataBits</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>StopBits</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Handshake</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AllComm</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>DoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>LogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>SIMV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>SIMMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMEnablePipe</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMDisableAlign</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SIMIllInstr</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>TKSV850</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>TKSMandatory</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSSuppressLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TKSVerifyLoad</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TksDoLogfile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>TksLogFile</name>\r
+          <state>$PROJ_DIR$\cspycomm.log</state>\r
+        </option>\r
+        <option>\r
+          <name>TksComPort</name>\r
+          <version>0</version>\r
+          <state>2</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <debuggerPlugins>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\CodeCoverage\CodeCoverage.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>\r
+        <loadFlag>0</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Profiling\Profiling.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\Stack\Stack.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+      <plugin>\r
+        <file>$EW_DIR$\common\plugins\SymList\SymList.ENU.ewplugin</file>\r
+        <loadFlag>1</loadFlag>\r
+      </plugin>\r
+    </debuggerPlugins>\r
+  </configuration>\r
+</project>\r
+\r
+\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewp b/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.ewp
new file mode 100644 (file)
index 0000000..0a25cc7
--- /dev/null
@@ -0,0 +1,1693 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<project>\r
+  <fileVersion>2</fileVersion>\r
+  <configuration>\r
+    <name>Debug</name>\r
+    <toolchain>\r
+      <name>V850</name>\r
+    </toolchain>\r
+    <debug>1</debug>\r
+    <settings>\r
+      <name>General</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>GMemoryModel</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GUseShort</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExePath</name>\r
+          <state>Debug\Exe</state>\r
+        </option>\r
+        <option>\r
+          <name>ObjPath</name>\r
+          <state>Debug\Obj</state>\r
+        </option>\r
+        <option>\r
+          <name>ListPath</name>\r
+          <state>Debug\List</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralStack</name>\r
+          <state>0x100</state>\r
+        </option>\r
+        <option>\r
+          <name>GOutputBinary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GRuntimeLibSelect</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>RTDescription</name>\r
+          <state>Use the normal configuration of the C/EC++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.</state>\r
+        </option>\r
+        <option>\r
+          <name>RTConfigPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dl85esnn.h</state>\r
+        </option>\r
+        <option>\r
+          <name>RTLibraryPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dl85esnn.r85</state>\r
+        </option>\r
+        <option>\r
+          <name>GRuntimeLibSelectSlave</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>Input variant</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Input description</name>\r
+          <state>Full formatting.</state>\r
+        </option>\r
+        <option>\r
+          <name>Output variant</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Output description</name>\r
+          <state>Full formatting.</state>\r
+        </option>\r
+        <option>\r
+          <name>GHeapSize</name>\r
+          <state>4096</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralEnableMisra</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVerbose</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GDeviceSelect</name>\r
+          <state>70F3385       V850ES - uPD70F3385</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVer</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ICCV850</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>14</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>CCDefines</name>\r
+          <state>__IAR_V850ES_Fx3__</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocComments</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMnemonics</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMessages</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssSource</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagSuppress</name>\r
+          <state>Pa082</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>IProcessor</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IMemory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ICode</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCAllowList</name>\r
+          <version>1</version>\r
+          <state>00000</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjUseModuleName</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjModuleName</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDebugInfo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLockedRegs</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IRegConstCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarnAreErr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableMigration</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IRegConstCompCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCompilerRuntimeInfo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCMultiByte</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDisableSldSuppression</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>$FILE_BNAME$.r85</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLibConfigHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRequirePrototypes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCharIs</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCExt</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLangSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PreInclude</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableMisalignedData</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCIncludePath2</name>\r
+          <state>$PROJ_DIR$\..\..\Source\include</state>\r
+          <state>$PROJ_DIR$\..\Common\include</state>\r
+          <state>$PROJ_DIR$\LEDtoggle</state>\r
+          <state>$PROJ_DIR$\IntV850ES</state>\r
+          <state>$PROJ_DIR$</state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncludePath</name>\r
+          <state>$TOOLKIT_DIR$\INC\</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCOverrideModuleTypeDefault</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRadioModuleType</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRadioModuleTypeSlave</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptLevel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptStrategy</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptLevelSlave</name>\r
+          <state>0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>AV850</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>AObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AProcessor</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MacroChars</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ACaseSensitivity</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AList</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AListHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AListing</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>Includes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacDefs</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacExps</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MacExec</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OnlyAssed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MultiLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoStrAsmList</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>TabSpacing</name>\r
+          <state>8</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRef</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefDefines</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefInternal</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefDual</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ADefines</name>\r
+          <state>CODE_MODEL_PIC</state>\r
+          <state>DATA_MODEL_TINY</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnEnable</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnWhat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnOne</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnRange1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnRange2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ADebugNew</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AMultiBytes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>$FILE_BNAME$.r85</state>\r
+        </option>\r
+        <option>\r
+          <name>Multibyte</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OAIncludePath2</name>\r
+          <state>$PROJ_DIR$</state>\r
+        </option>\r
+        <option>\r
+          <name>OAStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OAStdIncludePath</name>\r
+          <state>$TOOLKIT_DIR$\INC\</state>\r
+        </option>\r
+        <option>\r
+          <name>AMaxErrChk</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AMaxNumErr</name>\r
+          <state>100</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>CUSTOM</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <extensions></extensions>\r
+        <cmdline></cmdline>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BICOMP</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BUILDACTION</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <prebuild></prebuild>\r
+        <postbuild></postbuild>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XLINK</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>15</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>XExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>rtosdemo.d85</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>FormatVariant</name>\r
+          <version>8</version>\r
+          <state>11</state>\r
+        </option>\r
+        <option>\r
+          <name>SecondaryOutputFile</name>\r
+          <state>(None for the selected format)</state>\r
+        </option>\r
+        <option>\r
+          <name>XDefines</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AlwaysOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlapWarnings</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoGlobalCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XList</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>SegmentMap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ListSymbols</name>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>XIncludes</name>\r
+          <state>$TOOLKIT_DIR$\LIB\</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleStatus</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFile</name>\r
+          <state>$TOOLKIT_DIR$\CONFIG\lnk70f3385.xcl</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFileSlave</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DoFill</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>FillerByte</name>\r
+          <state>0xFF</state>\r
+        </option>\r
+        <option>\r
+          <name>DoCrc</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcSize</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlgo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcPoly</name>\r
+          <state>0x11021</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcCompl</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RangeCheckAlternatives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressAllWarn</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressDiags</name>\r
+          <state>w6</state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsWarn</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsErr</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleLocalSym</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcBitOrder</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IncludeSuppressed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleSummary</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabel</name>\r
+          <state>__program_start</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInformation</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RuntimeControl</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IoEmulation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AllowExtraOutput</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>GenerateExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFile</name>\r
+          <state>rtosdemo.a85</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraFormatVariant</name>\r
+          <version>8</version>\r
+          <state>11</state>\r
+        </option>\r
+        <option>\r
+          <name>xcOverrideProgramEntryLabel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabelSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ListOutputFormat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>BufferedTermOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkStackSize</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XcRTLibraryFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>OXLibIOConfig</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XLibraryHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XLinkMisraHandler</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlaySystemMap</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySymbol</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySegment</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryAlign</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlign</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcInitialValue</name>\r
+          <state>0x0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XAR</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>1</debug>\r
+        <option>\r
+          <name>XAROutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XARInputs</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BILINK</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+  </configuration>\r
+  <configuration>\r
+    <name>Release</name>\r
+    <toolchain>\r
+      <name>V850</name>\r
+    </toolchain>\r
+    <debug>0</debug>\r
+    <settings>\r
+      <name>General</name>\r
+      <archiveVersion>5</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>GMemoryModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GUseShort</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCodeModel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExePath</name>\r
+          <state>Release\Exe</state>\r
+        </option>\r
+        <option>\r
+          <name>ObjPath</name>\r
+          <state>Release\Obj</state>\r
+        </option>\r
+        <option>\r
+          <name>ListPath</name>\r
+          <state>Release\List</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralStack</name>\r
+          <state>0x1000</state>\r
+        </option>\r
+        <option>\r
+          <name>GOutputBinary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GRuntimeLibSelect</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>RTDescription</name>\r
+          <state>Use the normal configuration of the C/EC++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.</state>\r
+        </option>\r
+        <option>\r
+          <name>RTConfigPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dl85-tnn.h</state>\r
+        </option>\r
+        <option>\r
+          <name>RTLibraryPath</name>\r
+          <state>$TOOLKIT_DIR$\LIB\dl85-tnn.r85</state>\r
+        </option>\r
+        <option>\r
+          <name>GRuntimeLibSelectSlave</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>Input variant</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Input description</name>\r
+          <state>Full formatting.</state>\r
+        </option>\r
+        <option>\r
+          <name>Output variant</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>Output description</name>\r
+          <state>Full formatting.</state>\r
+        </option>\r
+        <option>\r
+          <name>GHeapSize</name>\r
+          <state>4096</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralEnableMisra</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVerbose</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GDeviceSelect</name>\r
+          <state>UnspecifiedV850       V850 - Unspecified</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraVer</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>GeneralMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>ICCV850</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>14</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>CCDefines</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocComments</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCPreprocLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMnemonics</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListCMessages</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssFile</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCListAssSource</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableRemarks</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagSuppress</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagRemark</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarning</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagError</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>IProcessor</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IMemory</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ICode</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCAllowList</name>\r
+          <version>1</version>\r
+          <state>11111</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjUseModuleName</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCObjModuleName</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCDebugInfo</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLockedRegs</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IRegConstCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDiagWarnAreErr</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableMigration</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IRegConstCompCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCompilerRuntimeInfo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCMultiByte</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCDisableSldSuppression</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>$FILE_BNAME$.r85</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLibConfigHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRequirePrototypes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCCharIs</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCExt</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCLangSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PreInclude</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCEnableMisalignedData</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCIncludePath2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCStdIncludePath</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IccExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CCOverrideModuleTypeDefault</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRadioModuleType</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CCRadioModuleTypeSlave</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules04</name>\r
+          <version>0</version>\r
+          <state>111101110010111111111000110111111111111111111111111110010111101111010101111111111111111111111111101111111011111001111011111011111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CompilerMisraRules98</name>\r
+          <version>0</version>\r
+          <state>1000111110110101101110011100111111101110011011000101110111101101100111111111111100110011111001110111001111111111111111111111111</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptLevel</name>\r
+          <state>3</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptStrategy</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CCOptLevelSlave</name>\r
+          <state>3</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>AV850</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>5</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>AObjPrefix</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AProcessor</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MacroChars</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ACaseSensitivity</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AList</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AListHeader</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AListing</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>Includes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacDefs</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MacExps</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>MacExec</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OnlyAssed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>MultiLine</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoStrAsmList</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>TabSpacing</name>\r
+          <state>8</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRef</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefDefines</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefInternal</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AXRefDual</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ADefines</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnEnable</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnWhat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnOne</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnRange1</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AWarnRange2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ADebugNew</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AMultiBytes</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>Multibyte</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OAIncludePath2</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>OAStdIncCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OAStdIncludePath</name>\r
+          <state>###Uninitialized###</state>\r
+        </option>\r
+        <option>\r
+          <name>AMaxErrChk</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AMaxNumErr</name>\r
+          <state>100</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>AsmExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>CUSTOM</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <extensions></extensions>\r
+        <cmdline></cmdline>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BICOMP</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+    <settings>\r
+      <name>BUILDACTION</name>\r
+      <archiveVersion>1</archiveVersion>\r
+      <data>\r
+        <prebuild></prebuild>\r
+        <postbuild></postbuild>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XLINK</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>15</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>XExtraOptionsCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOptions</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>XOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state>c.a85</state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>FormatVariant</name>\r
+          <version>8</version>\r
+          <state>11</state>\r
+        </option>\r
+        <option>\r
+          <name>SecondaryOutputFile</name>\r
+          <state>(None for the selected format)</state>\r
+        </option>\r
+        <option>\r
+          <name>XDefines</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>AlwaysOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlapWarnings</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>NoGlobalCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XList</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SegmentMap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>ListSymbols</name>\r
+          <state>2</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLengthCheck</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>PageLength</name>\r
+          <state>80</state>\r
+        </option>\r
+        <option>\r
+          <name>XIncludes</name>\r
+          <state>$TOOLKIT_DIR$\LIB\</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleStatus</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFile</name>\r
+          <state>$TOOLKIT_DIR$\CONFIG\lnk85.xcl</state>\r
+        </option>\r
+        <option>\r
+          <name>XclFileSlave</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>DoFill</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>FillerByte</name>\r
+          <state>0xFF</state>\r
+        </option>\r
+        <option>\r
+          <name>DoCrc</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcSize</name>\r
+          <version>0</version>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlgo</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcPoly</name>\r
+          <state>0x11021</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcCompl</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RangeCheckAlternatives</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressAllWarn</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>SuppressDiags</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsWarn</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>TreatAsErr</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleLocalSym</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcBitOrder</name>\r
+          <version>0</version>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>IncludeSuppressed</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ModuleSummary</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabel</name>\r
+          <state>__program_start</state>\r
+        </option>\r
+        <option>\r
+          <name>DebugInformation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>RuntimeControl</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>IoEmulation</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>AllowExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>GenerateExtraOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XExtraOutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFile</name>\r
+          <state>c.a85</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraOutputFormat</name>\r
+          <version>11</version>\r
+          <state>23</state>\r
+        </option>\r
+        <option>\r
+          <name>ExtraFormatVariant</name>\r
+          <version>8</version>\r
+          <state>11</state>\r
+        </option>\r
+        <option>\r
+          <name>xcOverrideProgramEntryLabel</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>xcProgramEntryLabelSelect</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>ListOutputFormat</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>BufferedTermOutput</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XlinkStackSize</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XcRTLibraryFile</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>OXLibIOConfig</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XLibraryHeap</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>XLinkMisraHandler</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>OverlaySystemMap</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryFile</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySymbol</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinarySegment</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>RawBinaryAlign</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>CrcAlign</name>\r
+          <state>1</state>\r
+        </option>\r
+        <option>\r
+          <name>CrcInitialValue</name>\r
+          <state>0x0</state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>XAR</name>\r
+      <archiveVersion>3</archiveVersion>\r
+      <data>\r
+        <version>0</version>\r
+        <wantNonLocal>1</wantNonLocal>\r
+        <debug>0</debug>\r
+        <option>\r
+          <name>XAROutOverride</name>\r
+          <state>0</state>\r
+        </option>\r
+        <option>\r
+          <name>XARInputs</name>\r
+          <state></state>\r
+        </option>\r
+        <option>\r
+          <name>OutputFile</name>\r
+          <state></state>\r
+        </option>\r
+      </data>\r
+    </settings>\r
+    <settings>\r
+      <name>BILINK</name>\r
+      <archiveVersion>0</archiveVersion>\r
+      <data/>\r
+    </settings>\r
+  </configuration>\r
+  <group>\r
+    <name>demo source</name>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\Common\Full\integer.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\LEDtoggle\LED.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\main.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\Common\Full\PollQ.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\Common\Full\print.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\RegTest.s85</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\semtest.c</name>\r
+    </file>\r
+  </group>\r
+  <group>\r
+    <name>kernel source</name>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\MemMang\heap_1.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\list.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\IAR\V850ES_Fx3\port.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\portable\IAR\V850ES_Fx3\portmacro.s85</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\queue.c</name>\r
+    </file>\r
+    <file>\r
+      <name>$PROJ_DIR$\..\..\Source\tasks.c</name>\r
+    </file>\r
+  </group>\r
+</project>\r
+\r
+\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.eww b/Demo/NEC_V850ES_Fx3_IAR/rtosdemo.eww
new file mode 100644 (file)
index 0000000..2294aac
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<workspace>\r
+  <project>\r
+    <path>$WS_DIR$\rtosdemo.ewp</path>\r
+  </project>\r
+  <batchBuild/>\r
+</workspace>\r
+\r
+\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.cspy.bat b/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.cspy.bat
new file mode 100644 (file)
index 0000000..2490117
--- /dev/null
@@ -0,0 +1,32 @@
+@REM This bat file has been generated by the IAR Embeddded Workbench\r
+@REM C-SPY interactive debugger,as an aid to preparing a command\r
+@REM line for running the cspybat command line utility with the\r
+@REM appropriate settings.\r
+@REM\r
+@REM After making some adjustments to this file, you can launch cspybat\r
+@REM by typing the name of this file followed by the name of the debug\r
+@REM file (usually an ubrof file). Note that this file is generated\r
+@REM every time a new debug session is initialized, so you may want to\r
+@REM move or rename the file before making changes.\r
+@REM\r
+@REM Note: some command line arguments cannot be properly generated\r
+@REM by this process. Specifically, the plugin which is responsible\r
+@REM for the Terminal I/O window (and other C runtime functionality)\r
+@REM comes in a special version for cspybat, and the name of that\r
+@REM plugin dll is not known when generating this file. It resides in\r
+@REM the $TOOLKIT_DIR$\bin folder and is usually called XXXbat.dll or\r
+@REM XXXlibsupportbat.dll, where XXX is the name of the corresponding\r
+@REM tool chain. Replace the '<libsupport_plugin>' parameter\r
+@REM below with the appropriate file name. Other plugins loaded by\r
+@REM C-SPY are usually not needed by, or will not work in, cspybat\r
+@REM but they are listed at the end of this file for reference.\r
+\r
+\r
+"C:\Devtools\IAR Systems\Embedded Workbench 5.0\common\bin\cspybat" "C:\Devtools\IAR Systems\Embedded Workbench 5.0\v850\bin\v850proc.dll" "C:\Devtools\IAR Systems\Embedded Workbench 5.0\v850\bin\v850minicube.dll"  %1 --plugin "C:\Devtools\IAR Systems\Embedded Workbench 5.0\v850\bin\<libsupport_plugin>" --backend -B "-v11" "-p" "C:\Devtools\IAR Systems\Embedded Workbench 5.0\v850\CONFIG\DDF\io70f3385.ddf" "-d" "minicube" "-c2" "-en10000" \r
+\r
+\r
+@REM Loaded plugins:\r
+@REM    v850LibSupport.dll\r
+@REM    C:\Devtools\IAR Systems\Embedded Workbench 5.0\common\plugins\CodeCoverage\CodeCoverage.dll\r
+@REM    C:\Devtools\IAR Systems\Embedded Workbench 5.0\common\plugins\Profiling\Profiling.dll\r
+@REM    C:\Devtools\IAR Systems\Embedded Workbench 5.0\common\plugins\SymList\SymList.dll\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dbgdt b/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dbgdt
new file mode 100644 (file)
index 0000000..f09c8a5
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<Project>\r
+  <Desktop>\r
+    <Static>\r
+      <Debug-Log/>\r
+      <Build>\r
+        <ColumnWidth0>20</ColumnWidth0>\r
+        <ColumnWidth1>1216</ColumnWidth1>\r
+        <ColumnWidth2>324</ColumnWidth2>\r
+        <ColumnWidth3>81</ColumnWidth3>\r
+      </Build>\r
+      <Workspace>\r
+        <ColumnWidths>\r
+          \r
+          \r
+          \r
+          \r
+        <Column0>416</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+      </Workspace>\r
+      <Disassembly>\r
+        \r
+        \r
+      <PreferedWindows><Position>2</Position><ScreenPosX>0</ScreenPosX><ScreenPosY>0</ScreenPosY><Windows/></PreferedWindows><MixedMode>1</MixedMode><CodeCovShow>0</CodeCovShow></Disassembly>\r
+    <Register/></Static>\r
+    <Windows>\r
+      \r
+      \r
+      \r
+    <Wnd0>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-757-1323</Identity>\r
+            <TabName>Debug Log</TabName>\r
+            <Factory>Debug-Log</Factory>\r
+            <Session/>\r
+          </Tab>\r
+          <Tab>\r
+            <Identity>TabID-234-1333</Identity>\r
+            <TabName>Build</TabName>\r
+            <Factory>Build</Factory>\r
+            <Session/>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd0><Wnd2>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-11505-1326</Identity>\r
+            <TabName>Workspace</TabName>\r
+            <Factory>Workspace</Factory>\r
+            <Session>\r
+              \r
+            <NodeDict><ExpandedNode>rtosdemo</ExpandedNode><ExpandedNode>rtosdemo/demo source</ExpandedNode><ExpandedNode>rtosdemo/kernel source</ExpandedNode></NodeDict></Session>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-24251-8685</Identity><TabName>Register</TabName><Factory>Register</Factory><Session><REG1>0</REG1><REG2>0</REG2><Group>0</Group><States>0</States></Session></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>\r
+    <Editor>\r
+      \r
+      \r
+      \r
+      \r
+    <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\tasks.c</Filename><XPos>0</XPos><YPos>1450</YPos><SelStart>46490</SelStart><SelEnd>46508</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\portable\IAR\V850ES_Fx3\port.c</Filename><XPos>0</XPos><YPos>22</YPos><SelStart>1490</SelStart><SelEnd>1540</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\portable\IAR\V850ES_Fx3\portmacro.s85</Filename><XPos>0</XPos><YPos>136</YPos><SelStart>8722</SelStart><SelEnd>8740</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\semtest.c</Filename><XPos>0</XPos><YPos>182</YPos><SelStart>9520</SelStart><SelEnd>9520</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\LEDtoggle\LED.c</Filename><XPos>0</XPos><YPos>90</YPos><SelStart>4505</SelStart><SelEnd>4505</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>86</YPos><SelStart>3718</SelStart><SelEnd>3718</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\Common\Full\integer.c</Filename><XPos>0</XPos><YPos>326</YPos><SelStart>8020</SelStart><SelEnd>8043</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>51</YPos><SelStart>2675</SelStart><SelEnd>2675</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\RegTest.s85</Filename><XPos>0</XPos><YPos>163</YPos><SelStart>4999</SelStart><SelEnd>4999</SelEnd></Tab><ActiveTab>8</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+    <Positions>\r
+      \r
+      \r
+      \r
+      \r
+      \r
+    <Top><Row0><Sizes><Toolbar-00aa9b50><key>iaridepm.enu1</key></Toolbar-00aa9b50><Toolbar-039ba368><key>debuggergui.enu1</key></Toolbar-039ba368></Sizes></Row0></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>490</Right><x>-2</x><y>-2</y><xscreen>240</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>292857</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>286</Right><x>-2</x><y>-2</y><xscreen>240</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>171429</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd3></Sizes></Row0></Right><Bottom><Row0><Sizes><Wnd0><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>200</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd0></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+  </Desktop>\r
+</Project>\r
+\r
+\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dni b/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.dni
new file mode 100644 (file)
index 0000000..3ac1681
--- /dev/null
@@ -0,0 +1,242 @@
+[IECUBE]\r
+MapEntries=0\r
+HWsettings=255,0,0,0,0,0,0,0\r
+HWsettings2=0\r
+HWsettings3=124,0\r
+EventEntries=0\r
+SeqName0=\r
+SeqData0=0,0,0\r
+SeqEnable10=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable20=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable30=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable40=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable0=0,0,0,0,0,0,0,0,0,0\r
+SeqName1=\r
+SeqData1=0,0,0\r
+SeqEnable11=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable21=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable31=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable41=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable1=0,0,0,0,0,0,0,0,0,0\r
+SeqName2=\r
+SeqData2=0,0,0\r
+SeqEnable12=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable22=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable32=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable42=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable2=0,0,0,0,0,0,0,0,0,0\r
+TraceSettings=0,0,0,0,0,0,0,2298478591,12,11,0,1,1,1,8192,0,4\r
+DataFlashSettings=0,0,0,0,0,0,0,0,0,0,0,1,0,1,1\r
+TraceSave=1,v850trace.txt\r
+TriggerOutSettings=0,0,0,0,0,0,0,0,0,0\r
+TimerSettings=0,0,0\r
+Tim2Name1=\r
+Tim2Data1=0,0,0,0,0,0,0,0,0\r
+Tim2Start1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name2=\r
+Tim2Data2=0,0,0,0,0,0,0,0,0\r
+Tim2Start2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name3=\r
+Tim2Data3=0,0,0,0,0,0,0,0,0\r
+Tim2Start3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name4=\r
+Tim2Data4=0,0,0,0,0,0,0,0,0\r
+Tim2Start4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name5=\r
+Tim2Data5=0,0,0,0,0,0,0,0,0\r
+Tim2Start5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name6=\r
+Tim2Data6=0,0,0,0,0,0,0,0,0\r
+Tim2Start6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name7=\r
+Tim2Data7=0,0,0,0,0,0,0,0,0\r
+Tim2Start7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name8=\r
+Tim2Data8=0,0,0,0,0,0,0,0,0\r
+Tim2Start8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name9=\r
+Tim2Data9=0,0,0,0,0,0,0,0,0\r
+Tim2Start9=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop9=0,0,0,0,0,0,0,0,0,0\r
+CoverSettings=0,1048575,66060288,67108863,0,0,0\r
+CoverSettings2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
+Version=1\r
+LastDevFile=unknown\r
+LastSetupFailed=0\r
+[MINICUBE2]\r
+LastSetupFailed=0\r
+MapEntries=0\r
+HWsettings=255,0,0,0,0,0,0,0\r
+HWsettings2=0\r
+HWsettings3=124,0\r
+EventEntries=0\r
+SeqName0=\r
+SeqData0=0,0,0\r
+SeqEnable10=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable20=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable30=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable40=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable0=0,0,0,0,0,0,0,0,0,0\r
+SeqName1=\r
+SeqData1=0,0,0\r
+SeqEnable11=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable21=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable31=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable41=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable1=0,0,0,0,0,0,0,0,0,0\r
+SeqName2=\r
+SeqData2=0,0,0\r
+SeqEnable12=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable22=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable32=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable42=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable2=0,0,0,0,0,0,0,0,0,0\r
+TraceSettings=0,0,0,0,0,0,0,2298478591,12,11,0,1,1,1,8192,0,4\r
+DataFlashSettings=0,0,0,0,0,0,0,0,0,0,0,1,0,1,1\r
+TraceSave=1,v850trace.txt\r
+TriggerOutSettings=0,0,0,0,0,0,0,0,0,0\r
+TimerSettings=0,0,0\r
+Tim2Name1=\r
+Tim2Data1=0,0,0,0,0,0,0,0,0\r
+Tim2Start1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name2=\r
+Tim2Data2=0,0,0,0,0,0,0,0,0\r
+Tim2Start2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name3=\r
+Tim2Data3=0,0,0,0,0,0,0,0,0\r
+Tim2Start3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name4=\r
+Tim2Data4=0,0,0,0,0,0,0,0,0\r
+Tim2Start4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name5=\r
+Tim2Data5=0,0,0,0,0,0,0,0,0\r
+Tim2Start5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name6=\r
+Tim2Data6=0,0,0,0,0,0,0,0,0\r
+Tim2Start6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name7=\r
+Tim2Data7=0,0,0,0,0,0,0,0,0\r
+Tim2Start7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name8=\r
+Tim2Data8=0,0,0,0,0,0,0,0,0\r
+Tim2Start8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name9=\r
+Tim2Data9=0,0,0,0,0,0,0,0,0\r
+Tim2Start9=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop9=0,0,0,0,0,0,0,0,0,0\r
+CoverSettings=0,1048575,66060288,67108863,0,0,0\r
+CoverSettings2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
+Version=1\r
+LastDevFile=unknown\r
+[DisAssemblyWindow]\r
+NumStates=_ 1\r
+State 1=_ 1\r
+[CodeCoverage]\r
+Enabled=_ 0\r
+[Profiling]\r
+Enabled=0\r
+[MINICUBE]\r
+Map0=0,0,1048575,1024,3\r
+Map1=1,67043328,67104767,60,3\r
+MapEntries=2\r
+HWsettings=11,33024,8155,0,160,0,0,1\r
+HWsettings2=0\r
+HWsettings3=124,1\r
+NWsettings=1,5000,0,1,FFFFFFFFFFFFFFFFFFFF\r
+NWsettings2=1\r
+EventEntries=0\r
+SeqName0=\r
+SeqData0=0,0,0\r
+SeqEnable10=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable20=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable30=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable40=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable0=0,0,0,0,0,0,0,0,0,0\r
+SeqName1=\r
+SeqData1=0,0,0\r
+SeqEnable11=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable21=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable31=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable41=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable1=0,0,0,0,0,0,0,0,0,0\r
+SeqName2=\r
+SeqData2=0,0,0\r
+SeqEnable12=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable22=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable32=0,0,0,0,0,0,0,0,0,0\r
+SeqEnable42=0,0,0,0,0,0,0,0,0,0\r
+SeqDisable2=0,0,0,0,0,0,0,0,0,0\r
+TraceSettings=0,0,0,0,0,0,0,2298478591,12,11,0,1,1,1,8192,0,4\r
+DataFlashSettings=0,0,0,0,0,0,0,0,0,0,0,1,0,1,1\r
+TraceSave=1,v850trace.txt\r
+TriggerOutSettings=0,0,0,0,0,0,0,0,0,0\r
+TimerSettings=0,0,0\r
+Tim2Name1=\r
+Tim2Data1=0,0,0,0,0,0,0,0,0\r
+Tim2Start1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop1=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name2=\r
+Tim2Data2=0,0,0,0,0,0,0,0,0\r
+Tim2Start2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop2=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name3=\r
+Tim2Data3=0,0,0,0,0,0,0,0,0\r
+Tim2Start3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop3=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name4=\r
+Tim2Data4=0,0,0,0,0,0,0,0,0\r
+Tim2Start4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop4=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name5=\r
+Tim2Data5=0,0,0,0,0,0,0,0,0\r
+Tim2Start5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop5=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name6=\r
+Tim2Data6=0,0,0,0,0,0,0,0,0\r
+Tim2Start6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop6=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name7=\r
+Tim2Data7=0,0,0,0,0,0,0,0,0\r
+Tim2Start7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop7=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name8=\r
+Tim2Data8=0,0,0,0,0,0,0,0,0\r
+Tim2Start8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop8=0,0,0,0,0,0,0,0,0,0\r
+Tim2Name9=\r
+Tim2Data9=0,0,0,0,0,0,0,0,0\r
+Tim2Start9=0,0,0,0,0,0,0,0,0,0\r
+Tim2Stop9=0,0,0,0,0,0,0,0,0,0\r
+CoverSettings=0,1048575,66060288,67108863,0,0,0\r
+CoverSettings2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
+Version=1\r
+LastDevFile=DF3385.800\r
+LastSetupFailed=0\r
+[Log file]\r
+LoggingEnabled=_ 0\r
+LogFile=_ ""\r
+Category=_ 0\r
+[TermIOLog]\r
+LoggingEnabled=_ 0\r
+LogFile=_ ""\r
+[Breakpoints]\r
+Count=0\r
+[TraceHelper]\r
+Enabled=1\r
+ShowSource=1\r
diff --git a/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.wsdt b/Demo/NEC_V850ES_Fx3_IAR/settings/rtosdemo.wsdt
new file mode 100644 (file)
index 0000000..a1eb054
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="iso-8859-1"?>\r
+\r
+<Workspace>\r
+  <ConfigDictionary>\r
+    \r
+  <CurrentConfigs><Project>rtosdemo/Debug</Project></CurrentConfigs></ConfigDictionary>\r
+  <Desktop>\r
+    <Static>\r
+      <Workspace>\r
+        <ColumnWidths>\r
+          \r
+          \r
+          \r
+          \r
+        <Column0>240</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+      </Workspace>\r
+    <Build><ColumnWidth0>20</ColumnWidth0><ColumnWidth1>1216</ColumnWidth1><ColumnWidth2>324</ColumnWidth2><ColumnWidth3>81</ColumnWidth3></Build><Debug-Log/><TerminalIO/></Static>\r
+    <Windows>\r
+      \r
+    <Wnd2>\r
+        <Tabs>\r
+          <Tab>\r
+            <Identity>TabID-30435-11592</Identity>\r
+            <TabName>Workspace</TabName>\r
+            <Factory>Workspace</Factory>\r
+            <Session>\r
+              \r
+            <NodeDict><ExpandedNode>rtosdemo</ExpandedNode><ExpandedNode>rtosdemo/demo source</ExpandedNode><ExpandedNode>rtosdemo/kernel source</ExpandedNode></NodeDict></Session>\r
+          </Tab>\r
+        </Tabs>\r
+        \r
+      <SelectedTab>0</SelectedTab></Wnd2><Wnd3><Tabs><Tab><Identity>TabID-2785-875</Identity><TabName>Build</TabName><Factory>Build</Factory><Session/></Tab><Tab><Identity>TabID-21438-1140</Identity><TabName>Debug Log</TabName><Factory>Debug-Log</Factory><Session/></Tab><Tab><Identity>TabID-21061-4073</Identity><TabName>Breakpoints</TabName><Factory>Breakpoints</Factory></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd3></Windows>\r
+    <Editor>\r
+      \r
+      \r
+      \r
+      \r
+    <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\tasks.c</Filename><XPos>0</XPos><YPos>1450</YPos><SelStart>46490</SelStart><SelEnd>46508</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\portable\IAR\V850ES_Fx3\port.c</Filename><XPos>0</XPos><YPos>22</YPos><SelStart>1490</SelStart><SelEnd>1540</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Source\portable\IAR\V850ES_Fx3\portmacro.s85</Filename><XPos>0</XPos><YPos>136</YPos><SelStart>8722</SelStart><SelEnd>8740</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\semtest.c</Filename><XPos>0</XPos><YPos>182</YPos><SelStart>9520</SelStart><SelEnd>9520</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\LEDtoggle\LED.c</Filename><XPos>0</XPos><YPos>90</YPos><SelStart>4505</SelStart><SelEnd>4505</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>86</YPos><SelStart>3718</SelStart><SelEnd>3718</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\Common\Full\integer.c</Filename><XPos>0</XPos><YPos>326</YPos><SelStart>8020</SelStart><SelEnd>8043</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\FreeRTOSConfig.h</Filename><XPos>0</XPos><YPos>51</YPos><SelStart>2675</SelStart><SelEnd>2675</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\temp\NEC\FreeRTOS V850\FreeRTOS_V850ESFx3\Demo\NEC_V850ES_Fx3_IAR\RegTest.s85</Filename><XPos>0</XPos><YPos>163</YPos><SelStart>4999</SelStart><SelEnd>4999</SelEnd></Tab><ActiveTab>8</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+    <Positions>\r
+      \r
+      \r
+      \r
+      \r
+      \r
+    <Top><Row0><Sizes><Toolbar-00aa9b50><key>iaridepm.enu1</key></Toolbar-00aa9b50></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>314</Right><x>-2</x><y>-2</y><xscreen>316</xscreen><yscreen>205</yscreen><sizeHorzCX>188095</sizeHorzCX><sizeHorzCY>208758</sizeHorzCY><sizeVertCX>188095</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>200</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+  </Desktop>\r
+</Workspace>\r
+\r
+\r