]> git.sur5r.net Git - freertos/commitdiff
Created and tested optimised build configuration for the XMC4500 demo.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 6 Apr 2012 19:47:30 +0000 (19:47 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 6 Apr 2012 19:47:30 +0000 (19:47 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1727 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/.cproject
Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/FreeRTOSConfig.h
Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main.c
Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_blinky.c
Demo/CORTEX_M4F_Infineon_XMC4500_Tasking/main_full.c

index a33848e39173dd43c5e5332f517b715137da3efe..5494c28cbeadeebbdda88d37c6dfdc15e1d83f7c 100644 (file)
                                <toolInfo>TASKING program builder v4.2r1 Build 063</toolInfo>\r
                        </storageModule>\r
                </cconfiguration>\r
+               <cconfiguration id="com.tasking.config.arm.abs.debug.1826238485.654381753">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.tasking.config.arm.abs.debug.1826238485.654381753" moduleId="org.eclipse.cdt.core.settings" name="Optimised">\r
+                               <externalSettings/>\r
+                               <extensions>\r
+                                       <extension id="com.tasking.managedbuilder.TASKING_ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
+                                       <extension id="com.tasking.managedbuilder.TskRegexErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                               </extensions>\r
+                       </storageModule>\r
+                       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+                               <configuration artifactExtension="abs" artifactName="RTOSDemo" buildArtefactType="com.tasking.arm.buildArtefactType.elf" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=com.tasking.arm.buildArtefactType.elf" cleanCommand="&quot;${PRODDIR}/bin/rm&quot; -rf" description="" id="com.tasking.config.arm.abs.debug.1826238485.654381753" name="Optimised" parent="com.tasking.config.arm.abs.debug">\r
+                                       <folderInfo id="com.tasking.config.arm.abs.debug.1826238485.654381753." name="/" resourcePath="">\r
+                                               <toolChain id="com.tasking.arm.abs.debug.88571467" name="TASKING VX-toolset for ARM" superClass="com.tasking.arm.abs.debug">\r
+                                                       <option id="com.tasking.arm.pluginVersion.2020974908" name="Plugin version" superClass="com.tasking.arm.pluginVersion" value="1.77.0.0" valueType="string"/>\r
+                                                       <option id="com.tasking.arm.prodDir.543770190" name="Product directory:" superClass="com.tasking.arm.prodDir" value="${eclipse_home}/.." valueType="string"/>\r
+                                                       <option id="com.tasking.arm.cpu.407790444" name="Processor:" superClass="com.tasking.arm.cpu" value="xmc4500x1024" valueType="string"/>\r
+                                                       <targetPlatform archList="all" binaryParser="com.tasking.managedbuilder.TASKING_ELF" id="com.tasking.arm.platform.abs.debug.1538796444" name="Debug" osList="" superClass="com.tasking.arm.platform.abs.debug"/>\r
+                                                       <builder buildPath="${workspace_loc:/RTOSDemo/Debug}" id="com.tasking.arm.builder.abs.debug.362325101" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="TASKING ARM Makefile generator" parallelBuildOn="true" parallelizationNumber="-1" superClass="com.tasking.arm.builder.abs.debug"/>\r
+                                                       <tool id="com.tasking.arm.cc.abs.debug.2020315503" name="C/C++ Compiler" superClass="com.tasking.arm.cc.abs.debug">\r
+                                                               <option id="com.tasking.arm.cc.pr36858.710990228" name="workaround for PR36858" superClass="com.tasking.arm.cc.pr36858" value="true" valueType="string"/>\r
+                                                               <option id="com.tasking.arm.cc.includePaths.179492897" name="Include paths" superClass="com.tasking.arm.cc.includePaths" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;C:\E\Dev\FreeRTOS\WorkingCopy\Demo\CORTEX_M4F_Infineon_XMC4500_Tasking\FreeRTOS_Source\include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;C:\E\Dev\FreeRTOS\WorkingCopy\Demo\CORTEX_M4F_Infineon_XMC4500_Tasking\FreeRTOS_Source\portable\Tasking\ARM_CM4F&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;C:\E\Dev\FreeRTOS\WorkingCopy\Demo\CORTEX_M4F_Infineon_XMC4500_Tasking&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;C:\E\Dev\FreeRTOS\WorkingCopy\Demo\CORTEX_M4F_Infineon_XMC4500_Tasking\src\Common_Demo_Source\include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;C:\E\Dev\FreeRTOS\WorkingCopy\Demo\CORTEX_M4F_Infineon_XMC4500_Tasking\Common_Demo_Source\include&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="com.tasking.arm.cc.optimize.1645610939" name="Optimization level:" superClass="com.tasking.arm.cc.optimize" value="com.tasking.arm.cc.optimize.3" valueType="enumerated"/>\r
+                                                               <option id="com.tasking.arm.cc.globalTypeChecking.651396284" name="Perform global type checking on C code" superClass="com.tasking.arm.cc.globalTypeChecking" value="false" valueType="boolean"/>\r
+                                                               <inputType id="com.tasking.arm.cppInputType.480346809" name="C++" superClass="com.tasking.arm.cppInputType"/>\r
+                                                               <inputType id="com.tasking.arm.cpp.cInputType.1700855572" name="C" superClass="com.tasking.arm.cpp.cInputType"/>\r
+                                                               <inputType id="com.tasking.arm.cc.msInputType.2058110844" name="MS" superClass="com.tasking.arm.cc.msInputType"/>\r
+                                                       </tool>\r
+                                                       <tool id="com.tasking.arm.as.abs.debug.946900032" name="Assembler" superClass="com.tasking.arm.as.abs.debug">\r
+                                                               <option id="com.tasking.arm.as.nowarning.596975067" name="Suppress warnings" superClass="com.tasking.arm.as.nowarning" valueType="stringList"/>\r
+                                                               <option id="com.tasking.arm.as.symbolScopeGlobal.979702489" name="Set default symbol scope to global" superClass="com.tasking.arm.as.symbolScopeGlobal" value="false" valueType="boolean"/>\r
+                                                               <option id="com.tasking.arm.as.emitLocals.equ.1925547304" name="Emit local EQU symbols" superClass="com.tasking.arm.as.emitLocals.equ" value="false" valueType="boolean"/>\r
+                                                               <inputType id="com.tasking.arm.asmInputType.307080549" name="ASM" superClass="com.tasking.arm.asmInputType"/>\r
+                                                       </tool>\r
+                                                       <tool id="com.tasking.arm.lk.abs.debug.694435973" name="Linker" superClass="com.tasking.arm.lk.abs.debug">\r
+                                                               <option id="com.tasking.arm.lk.nowarning.460535977" name="Suppress warnings" superClass="com.tasking.arm.lk.nowarning" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="163"/>\r
+                                                               </option>\r
+                                                               <option id="com.tasking.arm.lk.optimize.deleteUnreferencedSections.646779268" name="Delete unreferenced sections" superClass="com.tasking.arm.lk.optimize.deleteUnreferencedSections" value="true" valueType="boolean"/>\r
+                                                               <option id="com.tasking.arm.lk.misc.longBranchVeneers.1482188034" name="Generate long-branch veneers" superClass="com.tasking.arm.lk.misc.longBranchVeneers" value="false" valueType="boolean"/>\r
+                                                               <inputType id="com.tasking.arm.lkObjInputType.543385366" name="OBJ" superClass="com.tasking.arm.lkObjInputType"/>\r
+                                                               <inputType id="com.tasking.arm.lkLibInputType.787930413" name="LIB" superClass="com.tasking.arm.lkLibInputType"/>\r
+                                                       </tool>\r
+                                               </toolChain>\r
+                                       </folderInfo>\r
+                               </configuration>\r
+                       </storageModule>\r
+                       <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
+                       <storageModule moduleId="com.tasking.toolInfo">\r
+                               <toolInfo>TASKING program builder v4.2r1 Build 063</toolInfo>\r
+                       </storageModule>\r
+               </cconfiguration>\r
        </storageModule>\r
        <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
                <project id="RTOSDemo.com.tasking.arm.target.abs.112448275" name="TASKING ARM Application" projectType="com.tasking.arm.target.abs"/>\r
index 4c1d32df8bec056089931dce57f7503d02d1e444..bc8fcf3c0292f48cfaccfbf042f635e1c5c5d898 100644 (file)
@@ -137,7 +137,7 @@ to all Cortex-M ports, and do not rely on any particular library functions. */
        \r
 /* Normal assert() semantics without relying on the provision of an assert.h\r
 header file. */\r
-#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }    \r
+#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ) __asm volatile( "NOP" ); }\r
        \r
 #endif /* FREERTOS_CONFIG_H */\r
 \r
index d443e5a6a8bb0cb6a4d6b224db9f69ba6766ecb1..859ccb8f796081f9911c8ebec29fbd632c2b3b4d 100644 (file)
@@ -154,7 +154,10 @@ void vApplicationMallocFailedHook( void )
        to query the size of free heap space that remains (although it does not\r
        provide information on how the remaining heap might be fragmented). */\r
        taskDISABLE_INTERRUPTS();\r
-       for( ;; );\r
+       for( ;; )\r
+       {\r
+               __asm volatile( "NOP" );\r
+       };\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -181,7 +184,10 @@ void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName
        configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2.  This hook\r
        function is called if a stack overflow is detected. */\r
        taskDISABLE_INTERRUPTS();\r
-       for( ;; );\r
+       for( ;; )\r
+       {\r
+               __asm volatile( "NOP" );\r
+       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
index be344d5e9eb965d35f702bd3fdf4e5ee64bf2553..b107a4c76164e7eb5c5d5b5967bc0e1eb344ab50 100644 (file)
@@ -174,7 +174,10 @@ void main_blinky( void )
        there was insufficient FreeRTOS heap memory available for the idle and/or\r
        timer tasks     to be created.  See the memory management section on the\r
        FreeRTOS web site for more details. */\r
-       for( ;; );\r
+       for( ;; )\r
+       {\r
+               __asm volatile( "NOP" );\r
+       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
index cc188f44015aac52ee01bbea99d7b35486903a32..dedd84c25619bc3d35ad7f5fea8916fd9d70d816 100644 (file)
@@ -215,7 +215,10 @@ xTimerHandle xCheckTimer = NULL;
        insufficient FreeRTOS heap memory available for the idle and/or timer tasks\r
        to be created.  See the memory management section on the FreeRTOS web site\r
        for more details. */\r
-       for( ;; );      \r
+       for( ;; )\r
+       {\r
+               __asm volatile( "NOP" );\r
+       }\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r