Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_cryp.c [25056b] .. [1272ff] Maximize Restore

  Switch to side-by-side view

--- a/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_cryp.c
+++ b/ilg.gnuarmeclipse.templates.stm/templates/micro-os-plus/stm32f4-hal.pack/src/stm32f4-hal/stm32f4xx_hal_cryp.c
@@ -241,6 +241,12 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
 /**
   * @brief  Initializes the CRYP MSP.
   * @param  hcryp: CRYP handle
@@ -264,6 +270,11 @@
             the HAL_CRYP_MspDeInit could be implemented in the user file
    */
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
 
 /**
   * @}
@@ -686,6 +697,12 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wconversion"
+#endif
+
 /**
   * @brief  Initializes the CRYP peripheral in AES ECB encryption mode using Interrupt.
   * @param  hcryp: CRYP handle
@@ -1358,6 +1375,11 @@
   /* Return function status */
   return HAL_OK;
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
 
 /**
   * @brief  Initializes the CRYP peripheral in AES ECB encryption mode using DMA.
@@ -1934,6 +1956,12 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wconversion"
+#endif
+
 /**
   * @brief  Initializes the CRYP peripheral in DES ECB encryption mode using IT.
   * @param  hcryp: CRYP handle
@@ -2955,6 +2983,11 @@
   return HAL_OK;
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
+
 /**
   * @brief  Initializes the CRYP peripheral in TDES ECB encryption mode using DMA.
   * @param  hcryp: CRYP handle
@@ -3143,6 +3176,12 @@
   * @{
   */
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
 /**
   * @brief  Input FIFO transfer completed callbacks.
   * @param  hcryp: CRYP handle
@@ -3178,6 +3217,11 @@
             the HAL_CRYP_ErrorCallback could be implemented in the user file
    */ 
 }
+
+ // [ILG]
+ #if defined ( __GNUC__ )
+ #pragma GCC diagnostic pop
+ #endif
 
 /**
   * @}
@@ -3349,6 +3393,12 @@
   hcryp->State= HAL_CRYP_STATE_READY;
   HAL_CRYP_ErrorCallback(hcryp);
 }
+
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
 
 /**
   * @brief  Writes the Key in Key registers. 
@@ -3446,6 +3496,11 @@
   }
 }
 
+// [ILG]
+#if defined ( __GNUC__ )
+#pragma GCC diagnostic pop
+#endif
+
 /**
   * @brief  Process Data: Writes Input data in polling mode and read the output data
   * @param  hcryp: CRYP handle