diff options
author | Nicolas Reinecke <nr@das-labor.org> | 2016-05-01 02:25:32 +0200 |
---|---|---|
committer | Nicolas Reinecke <nr@das-labor.org> | 2016-05-01 03:28:40 +0200 |
commit | 65ba371306b8e4ab07aa7936a132610df14eea3d (patch) | |
tree | a89d836d6671d4ced21a99cf9229ed9f4e86614b /testhal/STM32/STM32F4xx | |
parent | 311adb852907518c4d76cc48b3ea1d960b83b195 (diff) | |
download | ChibiOS-Contrib-65ba371306b8e4ab07aa7936a132610df14eea3d.tar.gz ChibiOS-Contrib-65ba371306b8e4ab07aa7936a132610df14eea3d.tar.bz2 ChibiOS-Contrib-65ba371306b8e4ab07aa7936a132610df14eea3d.zip |
fix warnings in STM32 projects because of missing configs
Diffstat (limited to 'testhal/STM32/STM32F4xx')
5 files changed, 59 insertions, 4 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_NAND/halconf_community.h index 992a00a..f480707 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/halconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/halconf_community.h @@ -59,6 +59,13 @@ #define HAL_USE_CRC FALSE
#endif
+/**
+ * @brief Enables the RNG subsystem.
+ */
+#if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
+#define HAL_USE_RNG FALSE
+#endif
+
/*===========================================================================*/
/* FSMCNAND driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h index ecc275a..606fed4 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h @@ -45,6 +45,27 @@ #define HAL_USE_ONEWIRE FALSE
#endif
+/**
+ * @brief Enables the EICU subsystem.
+ */
+#if !defined(HAL_USE_EICU) || defined(__DOXYGEN__)
+#define HAL_USE_EICU FALSE
+#endif
+
+/**
+ * @brief Enables the CRC subsystem.
+ */
+#if !defined(HAL_USE_CRC) || defined(__DOXYGEN__)
+#define HAL_USE_CRC FALSE
+#endif
+
+/**
+ * @brief Enables the RNG subsystem.
+ */
+#if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
+#define HAL_USE_RNG FALSE
+#endif
+
/*===========================================================================*/
/* FSMCNAND driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/STM32F4xx/FSMC_SDRAM/mcuconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SDRAM/mcuconf_community.h index 81c7e2c..f60cbee 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SDRAM/mcuconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_SDRAM/mcuconf_community.h @@ -21,8 +21,28 @@ #define STM32_FSMC_FSMC1_IRQ_PRIORITY 10 /* + * FSMC NAND driver system settings. + */ +#define STM32_NAND_USE_FSMC_NAND1 FALSE +#define STM32_NAND_USE_FSMC_NAND2 FALSE + +/* * FSMC SDRAM driver system settings. */ #define STM32_USE_FSMC_SDRAM TRUE #define STM32_SDRAM_USE_FSMC_SDRAM1 FALSE #define STM32_SDRAM_USE_FSMC_SDRAM2 TRUE + +/* + * FSMC SRAM driver system settings. + */ +#define STM32_USE_FSMC_SRAM FALSE +#define STM32_SRAM_USE_FSMC_SRAM1 FALSE +#define STM32_SRAM_USE_FSMC_SRAM2 FALSE +#define STM32_SRAM_USE_FSMC_SRAM3 FALSE +#define STM32_SRAM_USE_FSMC_SRAM4 FALSE + +/* + * FSMC PC card driver system settings. + */ +#define STM32_USE_FSMC_PCCARD FALSE diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h index 8d24d02c..606fed4 100644 --- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h +++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h @@ -59,6 +59,13 @@ #define HAL_USE_CRC FALSE
#endif
+/**
+ * @brief Enables the RNG subsystem.
+ */
+#if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
+#define HAL_USE_RNG FALSE
+#endif
+
/*===========================================================================*/
/* FSMCNAND driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h index 71315eb..49db499 100644 --- a/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h +++ b/testhal/STM32/STM32F4xx/USB_HOST/halconf_community.h @@ -60,17 +60,17 @@ #endif
/**
- * @brief Enables the IWDG subsystem.
+ * @brief Enables the RNG subsystem.
*/
-#if !defined(HAL_USE_IWDG) || defined(__DOXYGEN__)
-#define HAL_USE_IWDG FALSE
+#if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
+#define HAL_USE_RNG FALSE
#endif
/**
* @brief Enables the TIMCAP subsystem.
*/
#if !defined(HAL_USE_TIMCAP) || defined(__DOXYGEN__)
-#define HAL_USE_TIMCAP FALSE
+#define HAL_USE_TIMCAP FALSE
#endif
/**
|