]> git.sur5r.net Git - freertos/commitdiff
Continue work on the MSP430X demo - still a work in progress.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 1 Jan 2011 09:23:37 +0000 (09:23 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 1 Jan 2011 09:23:37 +0000 (09:23 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1200 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewd
Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp
Demo/MSP430X_MSP430F5438_IAR/lnk430F5438A_mod.xcl
Demo/MSP430X_MSP430F5438_IAR/main.c

index aba9d35fcd79bb1f2b0de49fda59891da7ce05a0..fcb909d3fb3ae0fecca576c6ee66e086b8d013c2 100644 (file)
         </option>\r
         <option>\r
           <name>TargetSettlingtime</name>\r
-          <state>10</state>\r
+          <state>0</state>\r
         </option>\r
         <option>\r
           <name>AllowAccessToBSL</name>\r
     <toolchain>\r
       <name>MSP430</name>\r
     </toolchain>\r
-    <debug>0</debug>\r
+    <debug>1</debug>\r
     <settings>\r
       <name>C-SPY</name>\r
       <archiveVersion>4</archiveVersion>\r
       <data>\r
         <version>25</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>CInput</name>\r
           <state>1</state>\r
         </option>\r
         <option>\r
           <name>GoToEnable</name>\r
-          <state>1</state>\r
+          <state>0</state>\r
         </option>\r
         <option>\r
           <name>GoToName</name>\r
         </option>\r
         <option>\r
           <name>DynDriver</name>\r
-          <state>SIM430</state>\r
+          <state>430FET</state>\r
         </option>\r
         <option>\r
           <name>dDllSlave</name>\r
         </option>\r
         <option>\r
           <name>DdfFileName</name>\r
-          <state></state>\r
+          <state>$TOOLKIT_DIR$\config\MSP430F5438A.ddf</state>\r
         </option>\r
         <option>\r
           <name>ProcTMS</name>\r
       <data>\r
         <version>22</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>CFetMandatory</name>\r
           <state>0</state>\r
         </option>\r
         <option>\r
           <name>EMUVerifyDownloadP7</name>\r
-          <state>0</state>\r
+          <state>1</state>\r
         </option>\r
         <option>\r
           <name>EraseOptionSlaveP7</name>\r
         </option>\r
         <option>\r
           <name>TargetVoltage</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>3.3</state>\r
         </option>\r
         <option>\r
           <name>AllowLockedFlashAccessP7</name>\r
         </option>\r
         <option>\r
           <name>GPassword</name>\r
-          <state>###Uninitialized###</state>\r
+          <state></state>\r
         </option>\r
         <option>\r
           <name>DebugLPM5</name>\r
       <data>\r
         <version>4</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>SimOddAddressCheckP7</name>\r
           <state>1</state>\r
         </option>\r
         <option>\r
           <name>SimPspConfigFile</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>$TOOLKIT_DIR$\CONFIG\test.psp.config</state>\r
         </option>\r
       </data>\r
     </settings>\r
       </plugin>\r
       <plugin>\r
         <file>$TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin</file>\r
-        <loadFlag>0</loadFlag>\r
+        <loadFlag>1</loadFlag>\r
       </plugin>\r
       <plugin>\r
         <file>$TOOLKIT_DIR$\plugins\rtos\PowerPac\PowerPacRTOS.ewplugin</file>\r
index d9fd0a34f7d9a7fc2102655cce28c058fab758b1..c05a495b55bb2066cb82dc413055f7285bb65eb6 100644 (file)
     <toolchain>\r
       <name>MSP430</name>\r
     </toolchain>\r
-    <debug>0</debug>\r
+    <debug>1</debug>\r
     <settings>\r
       <name>General</name>\r
       <archiveVersion>7</archiveVersion>\r
       <data>\r
         <version>27</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>ExePath</name>\r
           <state>Release\Exe</state>\r
         <option>\r
           <name>GRuntimeLibSelect</name>\r
           <version>0</version>\r
-          <state>1</state>\r
+          <state>2</state>\r
         </option>\r
         <option>\r
           <name>RTDescription</name>\r
-          <state></state>\r
+          <state>Use the full configuration of the C/EC++ runtime library. Full locale interface, C locale, file descriptor support, multibytes in printf and scanf, and hex floats in strtod.</state>\r
         </option>\r
         <option>\r
           <name>RTConfigPath</name>\r
-          <state>xxx.h</state>\r
+          <state>$TOOLKIT_DIR$\LIB\DLIB\dl430xlff.h</state>\r
         </option>\r
         <option>\r
           <name>RTLibraryPath</name>\r
-          <state>xxx.r43</state>\r
+          <state>$TOOLKIT_DIR$\LIB\DLIB\dl430xlff.r43</state>\r
         </option>\r
         <option>\r
           <name>Input variant</name>\r
           <version>0</version>\r
-          <state>0</state>\r
+          <state>3</state>\r
         </option>\r
         <option>\r
           <name>Input description</name>\r
-          <state></state>\r
+          <state>No specifier n, no float or long long, no scan set, no assignment suppressing.</state>\r
         </option>\r
         <option>\r
           <name>Output variant</name>\r
           <version>0</version>\r
-          <state>0</state>\r
+          <state>4</state>\r
         </option>\r
         <option>\r
           <name>Output description</name>\r
-          <state></state>\r
+          <state>No specifier a or A, no specifier n, no float or long long, no flags.</state>\r
         </option>\r
         <option>\r
           <name>GRuntimeLibSelectSlave</name>\r
           <version>0</version>\r
-          <state>1</state>\r
+          <state>2</state>\r
         </option>\r
         <option>\r
           <name>OGCore</name>\r
         </option>\r
         <option>\r
           <name>OGChipSelectMenu</name>\r
-          <state></state>\r
+          <state>MSP430F5438A  MSP430F5438A</state>\r
         </option>\r
         <option>\r
           <name>GStackHeapOverride</name>\r
         </option>\r
         <option>\r
           <name>GStackSize2</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>160</state>\r
         </option>\r
         <option>\r
           <name>GHeapSize2</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>160</state>\r
         </option>\r
         <option>\r
           <name>RadioDataModelType</name>\r
-          <state>0</state>\r
+          <state>2</state>\r
         </option>\r
         <option>\r
           <name>GHeap20Size</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>80</state>\r
         </option>\r
         <option>\r
           <name>GeneralMisraRules98</name>\r
       <data>\r
         <version>30</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>CCDefines</name>\r
-          <state>NDEBUG</state>\r
+          <state></state>\r
         </option>\r
         <option>\r
           <name>CCPreprocFile</name>\r
         </option>\r
         <option>\r
           <name>CCDiagSuppress</name>\r
-          <state></state>\r
+          <state>Pa082</state>\r
         </option>\r
         <option>\r
           <name>CCDiagRemark</name>\r
         </option>\r
         <option>\r
           <name>CCDebugInfo</name>\r
-          <state>0</state>\r
+          <state>1</state>\r
         </option>\r
         <option>\r
           <name>IProcessor</name>\r
         </option>\r
         <option>\r
           <name>OutputFile</name>\r
-          <state></state>\r
+          <state>$FILE_BNAME$.r43</state>\r
         </option>\r
         <option>\r
           <name>CCLibConfigHeader</name>\r
         </option>\r
         <option>\r
           <name>newCCIncludePaths</name>\r
-          <state></state>\r
+          <state>$PROJ_DIR$\F5XX_6XX_Core_Lib</state>\r
+          <state>$PROJ_DIR$\MSP-EXP430F5438_HAL</state>\r
+          <state>$PROJ_DIR$\UserExperienceDemo</state>\r
+          <state>$PROJ_DIR$\..\Common\include</state>\r
+          <state>$PROJ_DIR$\..\..\Source\include</state>\r
+          <state>$PROJ_DIR$\..\..\Source\portable\IAR\MSP430X</state>\r
+          <state>$PROJ_DIR$</state>\r
         </option>\r
         <option>\r
           <name>CCStdIncCheck</name>\r
         </option>\r
         <option>\r
           <name>CCOptLevelSlave</name>\r
-          <state>1</state>\r
+          <state>3</state>\r
         </option>\r
         <option>\r
           <name>CInput</name>\r
       <data>\r
         <version>13</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>AObjPrefix</name>\r
           <state>1</state>\r
         </option>\r
         <option>\r
           <name>ADebug</name>\r
-          <state>0</state>\r
+          <state>1</state>\r
         </option>\r
         <option>\r
           <name>ADebugType</name>\r
         </option>\r
         <option>\r
           <name>OutputFile</name>\r
-          <state></state>\r
+          <state>$FILE_BNAME$.r43</state>\r
         </option>\r
         <option>\r
           <name>AMultibyteSupport</name>\r
         </option>\r
         <option>\r
           <name>AUserIncludes</name>\r
-          <state></state>\r
+          <state>$PROJ_DIR$</state>\r
         </option>\r
       </data>\r
     </settings>\r
       <data>\r
         <version>22</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>XOutOverride</name>\r
           <state>0</state>\r
         </option>\r
         <option>\r
           <name>OutputFile</name>\r
-          <state></state>\r
+          <state>RTOSDemo.d43</state>\r
         </option>\r
         <option>\r
           <name>OutputFormat</name>\r
         </option>\r
         <option>\r
           <name>SecondaryOutputFile</name>\r
-          <state></state>\r
+          <state>(None for the selected format)</state>\r
         </option>\r
         <option>\r
           <name>XDefines</name>\r
         </option>\r
         <option>\r
           <name>XList</name>\r
-          <state>0</state>\r
+          <state>1</state>\r
         </option>\r
         <option>\r
           <name>SegmentMap</name>\r
         </option>\r
         <option>\r
           <name>XIncludes</name>\r
-          <state>###Uninitialized###</state>\r
+          <state>$TOOLKIT_DIR$\LIB\</state>\r
         </option>\r
         <option>\r
           <name>ModuleStatus</name>\r
         </option>\r
         <option>\r
           <name>XclOverride</name>\r
-          <state>0</state>\r
+          <state>1</state>\r
         </option>\r
         <option>\r
           <name>XclFile</name>\r
-          <state>lnk0t.xcl</state>\r
+          <state>$PROJ_DIR$\lnk430F5438A_mod.xcl</state>\r
         </option>\r
         <option>\r
           <name>XclFileSlave</name>\r
         </option>\r
         <option>\r
           <name>SuppressDiags</name>\r
-          <state></state>\r
+          <state>w6</state>\r
         </option>\r
         <option>\r
           <name>TreatAsWarn</name>\r
         </option>\r
         <option>\r
           <name>xcProgramEntryLabel</name>\r
-          <state></state>\r
+          <state>__program_start</state>\r
         </option>\r
         <option>\r
           <name>DebugInformation</name>\r
-          <state>1</state>\r
+          <state>0</state>\r
         </option>\r
         <option>\r
           <name>RuntimeControl</name>\r
         </option>\r
         <option>\r
           <name>ExtraOutputFile</name>\r
-          <state></state>\r
+          <state>RTOSDemo.a43</state>\r
         </option>\r
         <option>\r
           <name>ExtraOutputFormat</name>\r
       <data>\r
         <version>0</version>\r
         <wantNonLocal>1</wantNonLocal>\r
-        <debug>0</debug>\r
+        <debug>1</debug>\r
         <option>\r
           <name>XAROutOverride</name>\r
           <state>0</state>\r
   </configuration>\r
   <group>\r
     <name>F5XX_6XX_Core_Lib</name>\r
-    <file>\r
-      <name>$PROJ_DIR$\F5XX_6XX_Core_Lib\hal_macros.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\F5XX_6XX_Core_Lib\hal_PMM.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\F5XX_6XX_Core_Lib\hal_PMM.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\F5XX_6XX_Core_Lib\hal_UCS.c</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\F5XX_6XX_Core_Lib\hal_UCS.h</name>\r
-    </file>\r
   </group>\r
   <group>\r
     <name>FreeRTOS_Source</name>\r
   </group>\r
   <group>\r
     <name>MSP-EXP430F5438_HAL</name>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\cc2500.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_adc.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_adc.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_board.c</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_board.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_buttons.c</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_buttons.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_lcd.c</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_lcd.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_lcd_fonts.c</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_lcd_fonts.h</name>\r
-    </file>\r
     <file>\r
       <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_MSP-EXP430F5438.h</name>\r
     </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_rf.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_rf.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_rf_settings.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_rtc.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_rtc.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_tlv.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_tlv.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_usb.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\MSP-EXP430F5438_HAL\hal_usb.h</name>\r
-    </file>\r
   </group>\r
   <group>\r
     <name>Standard_Demo_Tasks</name>\r
       <name>$PROJ_DIR$\..\Common\Minimal\GenQTest.c</name>\r
     </file>\r
   </group>\r
-  <group>\r
-    <name>UserExperienceDemo</name>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\5xx_ACTIVE_test.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\5xx_ACTIVE_test.s43</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\adcTemp.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\adcTemp.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\audio.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\audio.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\balanceBall.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\balanceBall.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\clock.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\clock.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\FFT.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\FFT.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\FFT_430.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\FFT_430.s43</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\flashUtils.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\flashUtils.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\LPM.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\LPM.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\menuSetting.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\menuSetting.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\PMM.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\PMM.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\PowerTest.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\PowerTest.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\usbTest.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\usbTest.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\UserExperience_F5438A.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\UserExperience_F5438A.h</name>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\UserExperienceGraphics.c</name>\r
-      <excluded>\r
-        <configuration>Debug</configuration>\r
-      </excluded>\r
-    </file>\r
-    <file>\r
-      <name>$PROJ_DIR$\UserExperienceDemo\UserExperienceGraphics.h</name>\r
-    </file>\r
-  </group>\r
   <file>\r
     <name>$PROJ_DIR$\lnk430F5438A_mod.xcl</name>\r
   </file>\r
index 001b52bbc8febf1dc247225026c9a6b037ef7156..99dc499d94db3838c09fd6aa8bb32ac73b654eac 100644 (file)
 \r
 // *** Modified to place code in high memory and insodoing, testing the port.\r
 // Original code\r
--P(CODE)CODE=5C00-FF7F,10000-45BFF\r
+//-P(CODE)CODE=5C00-FF7F,10000-45BFF\r
 // Modified code\r
-//-P(CODE)CODE=10000-45BFF\r
+-P(CODE)CODE=10000-45BFF\r
+\r
 -Z(CODE)CODE_ID\r
 \r
 // ---------------------------\r
index 802bf53e42a83fd8053f9f42009b2a756e2af6e6..9a922b81cb9b82cd49b208071de17aa79b7107b3 100644 (file)
@@ -155,6 +155,7 @@ void main( void )
                xTaskCreate( vRegTest2Task, "Reg2", configMINIMAL_STACK_SIZE, NULL, 0, NULL );\r
                vTaskStartScheduler();\r
        }\r
+       \r
        for( ;; );\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -322,6 +323,8 @@ unsigned long ulCPU_Clock_KHz = ( configCPU_CLOCK_HZ / 1000UL );
        halLcdClearScreen();\r
        \r
        halLcdPrintLine( " www.FreeRTOS.org", 0,  OVERWRITE_TEXT );\r
+       \r
+while( ( halButtonsPressed() & BUTTON_UP ) == 0 );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r