|
@@ -15,7 +15,7 @@
|
|
* opensource.org/licenses/BSD-3-Clause
|
|
* opensource.org/licenses/BSD-3-Clause
|
|
*
|
|
*
|
|
******************************************************************************
|
|
******************************************************************************
|
|
- */
|
|
|
|
|
|
+ */
|
|
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __STM32H7xx_HAL_CONF_H
|
|
#ifndef __STM32H7xx_HAL_CONF_H
|
|
@@ -30,17 +30,17 @@
|
|
|
|
|
|
/* ########################## Module Selection ############################## */
|
|
/* ########################## Module Selection ############################## */
|
|
/**
|
|
/**
|
|
- * @brief This is the list of modules to be used in the HAL driver
|
|
|
|
|
|
+ * @brief This is the list of modules to be used in the HAL driver
|
|
*/
|
|
*/
|
|
-#define HAL_MODULE_ENABLED
|
|
|
|
|
|
+#define HAL_MODULE_ENABLED
|
|
|
|
|
|
- /* #define HAL_ADC_MODULE_ENABLED */
|
|
|
|
|
|
+#define HAL_ADC_MODULE_ENABLED
|
|
/* #define HAL_FDCAN_MODULE_ENABLED */
|
|
/* #define HAL_FDCAN_MODULE_ENABLED */
|
|
/* #define HAL_CEC_MODULE_ENABLED */
|
|
/* #define HAL_CEC_MODULE_ENABLED */
|
|
/* #define HAL_COMP_MODULE_ENABLED */
|
|
/* #define HAL_COMP_MODULE_ENABLED */
|
|
/* #define HAL_CRC_MODULE_ENABLED */
|
|
/* #define HAL_CRC_MODULE_ENABLED */
|
|
/* #define HAL_CRYP_MODULE_ENABLED */
|
|
/* #define HAL_CRYP_MODULE_ENABLED */
|
|
-/* #define HAL_DAC_MODULE_ENABLED */
|
|
|
|
|
|
+#define HAL_DAC_MODULE_ENABLED
|
|
/* #define HAL_DCMI_MODULE_ENABLED */
|
|
/* #define HAL_DCMI_MODULE_ENABLED */
|
|
#define HAL_DMA2D_MODULE_ENABLED
|
|
#define HAL_DMA2D_MODULE_ENABLED
|
|
/* #define HAL_ETH_MODULE_ENABLED */
|
|
/* #define HAL_ETH_MODULE_ENABLED */
|
|
@@ -100,9 +100,9 @@
|
|
/**
|
|
/**
|
|
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
|
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
|
* This value is used by the RCC HAL module to compute the system frequency
|
|
* This value is used by the RCC HAL module to compute the system frequency
|
|
- * (when HSE is used as system clock source, directly or through the PLL).
|
|
|
|
|
|
+ * (when HSE is used as system clock source, directly or through the PLL).
|
|
*/
|
|
*/
|
|
-#if !defined (HSE_VALUE)
|
|
|
|
|
|
+#if !defined (HSE_VALUE)
|
|
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz : FPGA case fixed to 60MHZ */
|
|
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz : FPGA case fixed to 60MHZ */
|
|
#endif /* HSE_VALUE */
|
|
#endif /* HSE_VALUE */
|
|
|
|
|
|
@@ -117,11 +117,11 @@
|
|
#if !defined (CSI_VALUE)
|
|
#if !defined (CSI_VALUE)
|
|
#define CSI_VALUE ((uint32_t)4000000) /*!< Value of the Internal oscillator in Hz*/
|
|
#define CSI_VALUE ((uint32_t)4000000) /*!< Value of the Internal oscillator in Hz*/
|
|
#endif /* CSI_VALUE */
|
|
#endif /* CSI_VALUE */
|
|
-
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* @brief Internal High Speed oscillator (HSI) value.
|
|
* @brief Internal High Speed oscillator (HSI) value.
|
|
* This value is used by the RCC HAL module to compute the system frequency
|
|
* This value is used by the RCC HAL module to compute the system frequency
|
|
- * (when HSI is used as system clock source, directly or through the PLL).
|
|
|
|
|
|
+ * (when HSI is used as system clock source, directly or through the PLL).
|
|
*/
|
|
*/
|
|
#if !defined (HSI_VALUE)
|
|
#if !defined (HSI_VALUE)
|
|
#define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
|
|
#define HSI_VALUE ((uint32_t)64000000) /*!< Value of the Internal oscillator in Hz*/
|
|
@@ -141,8 +141,8 @@
|
|
|
|
|
|
/**
|
|
/**
|
|
* @brief External clock source for I2S peripheral
|
|
* @brief External clock source for I2S peripheral
|
|
- * This value is used by the I2S HAL module to compute the I2S clock source
|
|
|
|
- * frequency, this source is inserted directly through I2S_CKIN pad.
|
|
|
|
|
|
+ * This value is used by the I2S HAL module to compute the I2S clock source
|
|
|
|
+ * frequency, this source is inserted directly through I2S_CKIN pad.
|
|
*/
|
|
*/
|
|
#if !defined (EXTERNAL_CLOCK_VALUE)
|
|
#if !defined (EXTERNAL_CLOCK_VALUE)
|
|
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External clock in Hz*/
|
|
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External clock in Hz*/
|
|
@@ -154,7 +154,7 @@
|
|
/* ########################### System Configuration ######################### */
|
|
/* ########################### System Configuration ######################### */
|
|
/**
|
|
/**
|
|
* @brief This is the HAL system configuration section
|
|
* @brief This is the HAL system configuration section
|
|
- */
|
|
|
|
|
|
+ */
|
|
#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
|
|
#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
|
|
#define TICK_INT_PRIORITY ((uint32_t)0U) /*!< tick interrupt priority */
|
|
#define TICK_INT_PRIORITY ((uint32_t)0U) /*!< tick interrupt priority */
|
|
#define USE_RTOS 0U
|
|
#define USE_RTOS 0U
|
|
@@ -220,14 +220,14 @@
|
|
|
|
|
|
/* ########################## Assert Selection ############################## */
|
|
/* ########################## Assert Selection ############################## */
|
|
/**
|
|
/**
|
|
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
|
|
|
|
|
|
+ * @brief Uncomment the line below to expanse the "assert_param" macro in the
|
|
* HAL drivers code
|
|
* HAL drivers code
|
|
*/
|
|
*/
|
|
-/* #define USE_FULL_ASSERT 1U */
|
|
|
|
|
|
+/* #define USE_FULL_ASSERT 1U */
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
/* Includes ------------------------------------------------------------------*/
|
|
/**
|
|
/**
|
|
- * @brief Include module's header file
|
|
|
|
|
|
+ * @brief Include module's header file
|
|
*/
|
|
*/
|
|
|
|
|
|
#ifdef HAL_RCC_MODULE_ENABLED
|
|
#ifdef HAL_RCC_MODULE_ENABLED
|
|
@@ -373,7 +373,7 @@
|
|
#ifdef HAL_OSPI_MODULE_ENABLED
|
|
#ifdef HAL_OSPI_MODULE_ENABLED
|
|
#include "stm32h7xx_hal_ospi.h"
|
|
#include "stm32h7xx_hal_ospi.h"
|
|
#endif /* HAL_OSPI_MODULE_ENABLED */
|
|
#endif /* HAL_OSPI_MODULE_ENABLED */
|
|
-
|
|
|
|
|
|
+
|
|
#ifdef HAL_OTFDEC_MODULE_ENABLED
|
|
#ifdef HAL_OTFDEC_MODULE_ENABLED
|
|
#include "stm32h7xx_hal_otfdec.h"
|
|
#include "stm32h7xx_hal_otfdec.h"
|
|
#endif /* HAL_OTFDEC_MODULE_ENABLED */
|
|
#endif /* HAL_OTFDEC_MODULE_ENABLED */
|
|
@@ -472,7 +472,7 @@
|
|
* @brief The assert_param macro is used for function's parameters check.
|
|
* @brief The assert_param macro is used for function's parameters check.
|
|
* @param expr: If expr is false, it calls assert_failed function
|
|
* @param expr: If expr is false, it calls assert_failed function
|
|
* which reports the name of the source file and the source
|
|
* which reports the name of the source file and the source
|
|
- * line number of the call that failed.
|
|
|
|
|
|
+ * line number of the call that failed.
|
|
* If expr is true, it returns no value.
|
|
* If expr is true, it returns no value.
|
|
* @retval None
|
|
* @retval None
|
|
*/
|
|
*/
|
|
@@ -488,6 +488,6 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif /* __STM32H7xx_HAL_CONF_H */
|
|
#endif /* __STM32H7xx_HAL_CONF_H */
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|