]> git.sur5r.net Git - freertos/commitdiff
Remove compiler warnings from auto-generated code.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Sep 2015 07:30:43 +0000 (07:30 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Sep 2015 07:30:43 +0000 (07:30 +0000)
Baseline prior to starting IAR RZ/T project.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2377 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/.cproject
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/.settings/language.settings.xml
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/System/GCC/src/loader_init2.c
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/System/r_atcm_init.c
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/System/r_ram_init.c
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/System/r_reset.c
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/src/Full_Demo/main_full.c
FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR_ARM/src/cg_src/r_cg_mpc.c

index af66ac48d928aeb54c670cbd181308ce7ecef2e0..393dc4ad6719d8b07c505d4193adec5b11c5db2d 100644 (file)
@@ -92,6 +92,7 @@
                                                                <option id="com.renesas.cdt.core.Compiler.option.warning30.1994659686" name="Issue Warning about c and ansi c construct incompatibility(-Wtraditional)" superClass="com.renesas.cdt.core.Compiler.option.warning30" value="false" valueType="boolean"/>\r
                                                                <option id="com.renesas.cdt.core.Compiler.option.warning31.531473224" name="Give string constants the type 'const char[length]'(-Wwrite-strings)" superClass="com.renesas.cdt.core.Compiler.option.warning31" value="false" valueType="boolean"/>\r
                                                                <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.114360178" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries"/>\r
+                                                               <option id="com.renesas.cdt.rz.HardwareDebug.Compiler.option.optimizationLevel.2026925660" name="Optimization Level" superClass="com.renesas.cdt.rz.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rz.HardwareDebug.Compiler.option.optimizationLevel.speedCodeSize" valueType="enumerated"/>\r
                                                                <inputType id="%Base.Compiler.C.InputType.Id.321945067" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
                                                                <inputType id="Base.Compiler.CPP.InputType.Id.678276075" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>\r
                                                        </tool>\r
index 53816e433605df81b22ed39a2be47b0c31b3e1a3..546c39b1ef63a0fb51a8071f9ada532a698a3b94 100644 (file)
@@ -3,7 +3,7 @@
        <configuration id="com.renesas.cdt.rz.hardwaredebug.win32.configuration.Id.137003302" name="HardwareDebug">\r
                <extension point="org.eclipse.cdt.core.LanguageSettingsProvider">\r
                        <provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>\r
-                       <provider class="com.renesas.cdt.common.build.spec.RZGCCBuiltinSpecsDetector" console="false" env-hash="-542772021278886125" id="RZGCCBuiltinSpecsDetector" keep-relative-paths="false" name="Renesas GNUARM-NONE GCCBuildinCompilerSettings" options-hash="857384749" parameter="arm-none-eabi-gcc -E -P -v -dD ${INPUTS}" prefer-non-shared="true">\r
+                       <provider class="com.renesas.cdt.common.build.spec.RZGCCBuiltinSpecsDetector" console="false" env-hash="1695716901026871493" id="RZGCCBuiltinSpecsDetector" keep-relative-paths="false" name="Renesas GNUARM-NONE GCCBuildinCompilerSettings" options-hash="857384749" parameter="arm-none-eabi-gcc -E -P -v -dD ${INPUTS}" prefer-non-shared="true">\r
                                <language-scope id="org.eclipse.cdt.core.gcc"/>\r
                                <language-scope id="org.eclipse.cdt.core.g++"/>\r
                        </provider>\r
index 70301684a030f89650196d9440e019bceca7486f..394872d3e27c6d093e6bed51475b746958617ab1 100644 (file)
@@ -121,8 +121,8 @@ void loader_init2 (void)
 ***********************************************************************************************************************/\r
 static void reset_check(void)\r
 {\r
-    volatile uint8_t result;\r
-    volatile uint32_t dummy;\r
+    volatile uint8_t result=0;\r
+    volatile uint32_t dummy=0;\r
     \r
     UNUSED_VARIABLE(result);\r
     UNUSED_VARIABLE(dummy);\r
@@ -196,7 +196,7 @@ static void reset_check(void)
 ***********************************************************************************************************************/\r
 static void cpg_init(void)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
 \r
index 6c17a6afbfb2bdad4c67a9412728dc7601684300..1c135f30887bd266b2daa47816f7b8c64eb2c58c 100644 (file)
@@ -85,7 +85,7 @@ Private variables and functions
 ***********************************************************************************************************************/\r
 void R_ATCM_WaitSet(uint32_t atcm_wait)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
   \r
index 65ee8c9e36686e5ac81347a9b1806cdc7c5910f5..0decedda88dccdc81a2cde520be0380a5f7f28b7 100644 (file)
@@ -108,7 +108,7 @@ void R_RAM_ECCEnable(void)
 ***********************************************************************************************************************/\r
 void R_RAM_WriteEnable(void)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
     \r
@@ -134,7 +134,7 @@ void R_RAM_WriteEnable(void)
 ***********************************************************************************************************************/\r
 void R_RAM_WriteDisable(void)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
     \r
index 9218763e63898ce2da8069edd729db8a4627789c..9c21394e5e82b1dc3710d8da08b1bcc9a7d35dd0 100644 (file)
@@ -85,7 +85,7 @@ Private variables and functions
 ***********************************************************************************************************************/\r
 void r_rst_write_enable(void)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
   \r
@@ -109,7 +109,7 @@ void r_rst_write_enable(void)
 ***********************************************************************************************************************/\r
 void r_rst_write_disable(void)\r
 {\r
-    volatile uint32_t dummy\r
+    volatile uint32_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
   \r
index bc5b0cc1e19a43e02849266f00f82693ac7ec707..f8037155984ae13901d56b8f81dd6adaa91b4e42 100644 (file)
  * In addition to the standard demo tasks, the following tasks and tests are\r
  * defined and/or created within this file:\r
  *\r
- * FreeRTOS+CLI command console.  For reasons of robustness testing the UART\r
- * driver is deliberately written to be inefficient and should not be used as a\r
- * template for a production driver.  Type "help" to see a list of registered\r
- * commands.  The FreeRTOS+CLI license is different to the FreeRTOS license, see\r
- * http://www.FreeRTOS.org/cli for license and usage details.  The default baud\r
- * rate is 115200.\r
- *\r
  * "Reg test" tasks - These fill both the core and floating point registers with\r
  * known values, then check that each register maintains its expected value for\r
  * the lifetime of the task.  Each task uses a different set of values.  The reg\r
@@ -212,17 +205,6 @@ extern void vRegTest1Implementation( void );
 static void prvRegTestTaskEntry2( void *pvParameters );\r
 extern void vRegTest2Implementation( void );\r
 \r
-/*\r
- * Register commands that can be used with FreeRTOS+CLI.  The commands are\r
- * defined in CLI-Commands.c and File-Related-CLI-Command.c respectively.\r
- */\r
-extern void vRegisterSampleCLICommands( void );\r
-\r
-/*\r
- * The task that manages the FreeRTOS+CLI input and output.\r
- */\r
-extern void vUARTCommandConsoleStart( uint16_t usStackSize, UBaseType_t uxPriority );\r
-\r
 /*\r
  * A high priority task that does nothing other than execute at a pseudo random\r
  * time to ensure the other test tasks don't just execute in a repeating\r
@@ -263,15 +245,6 @@ void main_full( void )
        vStartTaskNotifyTask();\r
        vStartInterruptSemaphoreTasks();\r
 \r
-\r
-       /* Start the tasks that implements the command console on the UART, as\r
-       described above. */\r
-#warning CLI is commented out\r
-//     vUARTCommandConsoleStart( mainUART_COMMAND_CONSOLE_STACK_SIZE, mainUART_COMMAND_CONSOLE_TASK_PRIORITY );\r
-\r
-       /* Register the standard CLI commands. */\r
-//     vRegisterSampleCLICommands();\r
-\r
        /* Create the register check tasks, as described at the top of this     file */\r
        xTaskCreate( prvRegTestTaskEntry1, "Reg1", configMINIMAL_STACK_SIZE, mainREG_TEST_TASK_1_PARAMETER, tskIDLE_PRIORITY, NULL );\r
        xTaskCreate( prvRegTestTaskEntry2, "Reg2", configMINIMAL_STACK_SIZE, mainREG_TEST_TASK_2_PARAMETER, tskIDLE_PRIORITY, NULL );\r
index a403df1fe33ae0cf57e5c5faf8608a435df08f4c..56a770f872e1d570a2e7227310dc81ed01900c10 100644 (file)
@@ -113,7 +113,7 @@ void R_MPC_Create_UserInit(void)
 ***********************************************************************************************************************/\r
 void R_MPC_WriteEnable(void)\r
 {\r
-    volatile uint8_t dummy\r
+    volatile uint8_t dummy=0;\r
 \r
     UNUSED_VARIABLE(dummy);\r
   \r
@@ -138,7 +138,7 @@ void R_MPC_WriteEnable(void)
 ***********************************************************************************************************************/\r
 void R_MPC_WriteDisable(void)\r
 {\r
-    volatile uint8_t dummy\r
+    volatile uint8_t dummy=0;\r
 \r
     UNUSED_PARAM(dummy);\r
   \r