83 lines
1.7 KiB
C
83 lines
1.7 KiB
C
/**
|
|
******************************************************************************
|
|
* @file stm32h7xx_nucleo_conf.h
|
|
* @author MCD Application Team
|
|
* @brief STM32H7xx_Nuleo board configuration file.
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
|
* All rights reserved.</center></h2>
|
|
*
|
|
* This software component is licensed by ST under BSD 3-Clause license,
|
|
* the "License"; You may not use this file except in compliance with the
|
|
* License. You may obtain a copy of the License at:
|
|
* opensource.org/licenses/BSD-3-Clause
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef STM32H7XX_NUCLEO_CONF_H
|
|
#define STM32H7XX_NUCLEO_CONF_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
#include "stm32h743xx.h"
|
|
#include "stm32h7xx_hal.h"
|
|
|
|
/** @addtogroup BSP
|
|
* @{
|
|
*/
|
|
|
|
/** @addtogroup STM32H7XX_NUCLEO
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup STM32H7XX_NUCLEO_CONFIG Config
|
|
* @{
|
|
*/
|
|
|
|
/** @defgroup STM32H7XX_NUCLEO_CONFIG_Exported_Constants Exported Constants
|
|
* @{
|
|
*/
|
|
/* Nucleo pin and part number defines */
|
|
#define USE_NUCLEO_144
|
|
#define USE_NUCLEO_H743ZI
|
|
|
|
/* COM define */
|
|
#define USE_COM_LOG 0U
|
|
#define USE_BSP_COM_FEATURE 1U
|
|
|
|
/* IRQ priorities */
|
|
#define BSP_BUTTON_USER_IT_PRIORITY 15U
|
|
|
|
#define BUS_SPI1_BAUDRATE 18000000
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* STM32H7XX_NUCLEO_CONF_H */
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|