#define mainNO_ERROR_DELAY ( ( portTickType ) 3000 / portTICK_RATE_MS )\r
#define mainERROR_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )\r
\r
-/* The LEDs used by the demos. */\r
-#define mainCHECK_TASK_LED ( 0 )\r
+/* There are no spare LEDs for the comtest tasks, so this is just set to an\r
+invalid number. */\r
+#define mainCOMTEST_LED ( 4 )\r
\r
/* The baud rate used by the comtest task. */\r
#define mainBAUD_RATE ( 9600 )\r
static void prvCheckTask( void *pvParameters )\r
{\r
portTickType xDelayPeriod = mainNO_ERROR_DELAY, xLastWakeTime;\r
+unsigned portBASE_TYPE uxLEDToUse = 0;\r
\r
/* Ensure parameter is passed in correctly. */\r
if( pvParameters != mainCHECK_PARAMETER )\r
if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
{\r
xDelayPeriod = mainERROR_DELAY;\r
- } \r
+ } \r
+ \r
+ /* The application board has more LEDs and uses the flash tasks\r
+ so the check task instead uses LED3 as LED3 is still spare. */\r
+ uxLEDToUse = 3;\r
}\r
#endif\r
\r
- vParTestToggleLED( mainCHECK_TASK_LED );\r
+ vParTestToggleLED( uxLEDToUse );\r
}\r
}\r
/*-----------------------------------------------------------*/\r
<option>\r
<name>OAIncludePath2</name>\r
<state>$PROJ_DIR$</state>\r
- <state>$PROJ_DIR$\..\..\Source\portable\IAR\V850ES_Fx3</state>\r
+ <state>$PROJ_DIR$\..\..\Source\portable\IAR\V850ES</state>\r
</option>\r
<option>\r
<name>OAStdIncCheck</name>\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\v850minicube2.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\io70f3707.ddf" "-d" "minicube2" "-c2" \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\v850minicube2.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\io70f3717.ddf" "-d" "minicube2" "-c2" \r
\r
\r
@REM Loaded plugins:\r
\r
\r
\r
- <Column0>212</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+ <Column0>270</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
</Workspace>\r
<Disassembly>\r
\r
\r
\r
\r
- <Wnd1>\r
+ <Wnd0>\r
<Tabs>\r
<Tab>\r
<Identity>TabID-757-1323</Identity>\r
</Tab>\r
<Tab><Identity>TabID-20969-27878</Identity><TabName>Find in Files</TabName><Factory>Find-in-Files</Factory><Session/></Tab><Tab><Identity>TabID-27119-4411</Identity><TabName>Breakpoints</TabName><Factory>Breakpoints</Factory></Tab></Tabs>\r
\r
- <SelectedTab>0</SelectedTab></Wnd1><Wnd2>\r
+ <SelectedTab>0</SelectedTab></Wnd0><Wnd3>\r
<Tabs>\r
<Tab>\r
<Identity>TabID-11505-1326</Identity>\r
</Tab>\r
</Tabs>\r
\r
- <SelectedTab>0</SelectedTab></Wnd2><Wnd5><Tabs><Tab><Identity>TabID-5934-2255</Identity><TabName>Disassembly</TabName><Factory>Disassembly</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd5></Windows>\r
+ <SelectedTab>0</SelectedTab></Wnd3></Windows>\r
<Editor>\r
\r
\r
\r
\r
- <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>119</YPos><SelStart>5726</SelStart><SelEnd>5726</SelEnd></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Source\tasks.c</Filename><XPos>0</XPos><YPos>582</YPos><SelStart>21916</SelStart><SelEnd>21916</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Source\portable\IAR\V850ES\port.c</Filename><XPos>0</XPos><YPos>141</YPos><SelStart>7270</SelStart><SelEnd>7270</SelEnd></Tab><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Source\portable\IAR\V850ES\portasm_Hx2.s85</Filename><XPos>0</XPos><YPos>301</YPos><SelStart>12381</SelStart><SelEnd>12381</SelEnd></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+ <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>120</YPos><SelStart>5785</SelStart><SelEnd>5785</SelEnd></Tab><ActiveTab>0</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-00aa9700><key>iaridepm.enu1</key></Toolbar-00aa9700><Toolbar-029689d8><key>debuggergui.enu1</key></Toolbar-029689d8></Sizes></Row0></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>286</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>205714</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes><Wnd5><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>198</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd5></Sizes></Row0></Right><Bottom><Row0><Sizes><Wnd1><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>200</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>142857</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd1></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+ <Top><Row0><Sizes><Toolbar-00aa9920><key>iaridepm.enu1</key></Toolbar-00aa9920><Toolbar-038e2ab8><key>debuggergui.enu1</key></Toolbar-038e2ab8></Sizes></Row0></Top><Left><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>740</Bottom><Right>344</Right><x>-2</x><y>-2</y><xscreen>240</xscreen><yscreen>200</yscreen><sizeHorzCX>142857</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>205952</sizeVertCX><sizeVertCY>755601</sizeVertCY></Rect></Wnd3></Sizes></Row0></Left><Right><Row0><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
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=DF3707.800\r
-Map0=0,0,262143,256,3\r
-Map1=1,67092480,67104767,12,3\r
+LastDevFile=DF3717.800\r
+Map0=0,0,393215,384,3\r
+Map1=1,67043328,67104767,32,3\r
NWsettings=1,5000,0,1,FFFFFFFFFFFFFFFFFFFF\r
NWsettings2=1\r
[DisAssemblyWindow]\r
<Workspace>\r
<ConfigDictionary>\r
\r
- <CurrentConfigs><Project>rtosdemo/V850ESHx2</Project></CurrentConfigs></ConfigDictionary>\r
+ <CurrentConfigs><Project>rtosdemo/V850ESJx2</Project></CurrentConfigs></ConfigDictionary>\r
<Desktop>\r
<Static>\r
<Workspace>\r
\r
\r
\r
- <Column0>240</Column0><Column1>27</Column1><Column2>27</Column2><Column3>27</Column3></ColumnWidths>\r
+ <Column0>303</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
\r
\r
- <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>119</YPos><SelStart>5726</SelStart><SelEnd>5726</SelEnd></Tab><ActiveTab>0</ActiveTab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+ <Pane><Tab><Factory>TextEditor</Factory><Filename>C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\NEC_V850ES_Fx3_IAR\main.c</Filename><XPos>0</XPos><YPos>120</YPos><SelStart>5785</SelStart><SelEnd>5785</SelEnd></Tab><ActiveTab>0</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-00aa9700><key>iaridepm.enu1</key></Toolbar-00aa9700></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>612</Bottom><Right>314</Right><x>-2</x><y>-2</y><xscreen>316</xscreen><yscreen>205</yscreen><sizeHorzCX>225714</sizeHorzCX><sizeHorzCY>208758</sizeHorzCY><sizeVertCX>225714</sizeVertCX><sizeVertCY>625255</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>326</Bottom><Right>1402</Right><x>-2</x><y>-2</y><xscreen>1404</xscreen><yscreen>328</yscreen><sizeHorzCX>1002857</sizeHorzCX><sizeHorzCY>334012</sizeHorzCY><sizeVertCX>171429</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+ <Top><Row0><Sizes><Toolbar-00aa9920><key>iaridepm.enu1</key></Toolbar-00aa9920></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>612</Bottom><Right>377</Right><x>-2</x><y>-2</y><xscreen>379</xscreen><yscreen>205</yscreen><sizeHorzCX>225595</sizeHorzCX><sizeHorzCY>208758</sizeHorzCY><sizeVertCX>225595</sizeVertCX><sizeVertCY>625255</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>326</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>328</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>334012</sizeHorzCY><sizeVertCX>171429</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
</Desktop>\r
</Workspace>\r
\r