The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
<>
Date:
Thu Mar 30 13:26:47 2017 +0100
Revision:
139:856d2700e60b
Parent:
137:e1686b8d5b90
Child:
145:64910690c574
Release 139 of the mbed library

Ports for Upcoming Targets

3934: [Silicon Labs] Update to HAL and devices https://github.com/ARMmbed/mbed-os/pull/3934

Known Issues

There is an issue with LPC1768 failing the 'Semihost file system' test with this release.

Fixes and Changes

3691: [TLS / hw acceleration] AES ECB for NUCLEO_F439ZI https://github.com/ARMmbed/mbed-os/pull/3691
3869: NCS36510: Default range changed from 0 to 950mV - ADC https://github.com/ARMmbed/mbed-os/pull/3869
3893: [STM32F7] Update STM32 Cube version v1.6.0 https://github.com/ARMmbed/mbed-os/pull/3893
3917: Fix mistake register setting in serial_format() https://github.com/ARMmbed/mbed-os/pull/3917
3927: [DELTA_DFBM_NQ620] Add RC calibration setting and revise mbed_overrides.c https://github.com/ARMmbed/mbed-os/pull/3927
3918: [NUC472/M453] Support unique locally administered MAC address and other driver updates https://github.com/ARMmbed/mbed-os/pull/3918
3920: Heap size adjusted to work for both tls-client and mbed-client https://github.com/ARMmbed/mbed-os/pull/3920
3969: NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins https://github.com/ARMmbed/mbed-os/pull/3969

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 132:9baf128c2fab 1 /**
<> 132:9baf128c2fab 2 ******************************************************************************
<> 132:9baf128c2fab 3 * @file stm32f7xx_hal_conf.h
<> 132:9baf128c2fab 4 * @author MCD Application Team
<> 139:856d2700e60b 5 * @version V1.2.0
<> 139:856d2700e60b 6 * @date 30-December-2016
<> 132:9baf128c2fab 7 * @brief HAL configuration file.
<> 132:9baf128c2fab 8 ******************************************************************************
<> 132:9baf128c2fab 9 * @attention
<> 132:9baf128c2fab 10 *
<> 132:9baf128c2fab 11 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
<> 132:9baf128c2fab 12 *
<> 132:9baf128c2fab 13 * Redistribution and use in source and binary forms, with or without modification,
<> 132:9baf128c2fab 14 * are permitted provided that the following conditions are met:
<> 132:9baf128c2fab 15 * 1. Redistributions of source code must retain the above copyright notice,
<> 132:9baf128c2fab 16 * this list of conditions and the following disclaimer.
<> 132:9baf128c2fab 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 132:9baf128c2fab 18 * this list of conditions and the following disclaimer in the documentation
<> 132:9baf128c2fab 19 * and/or other materials provided with the distribution.
<> 132:9baf128c2fab 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 132:9baf128c2fab 21 * may be used to endorse or promote products derived from this software
<> 132:9baf128c2fab 22 * without specific prior written permission.
<> 132:9baf128c2fab 23 *
<> 132:9baf128c2fab 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 132:9baf128c2fab 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 132:9baf128c2fab 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 132:9baf128c2fab 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 132:9baf128c2fab 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 132:9baf128c2fab 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 132:9baf128c2fab 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 132:9baf128c2fab 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 132:9baf128c2fab 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 132:9baf128c2fab 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 132:9baf128c2fab 34 *
<> 132:9baf128c2fab 35 ******************************************************************************
<> 132:9baf128c2fab 36 */
<> 132:9baf128c2fab 37
<> 132:9baf128c2fab 38 /* Define to prevent recursive inclusion -------------------------------------*/
<> 132:9baf128c2fab 39 #ifndef __STM32F7xx_HAL_CONF_H
<> 132:9baf128c2fab 40 #define __STM32F7xx_HAL_CONF_H
<> 132:9baf128c2fab 41
<> 132:9baf128c2fab 42 #ifdef __cplusplus
<> 132:9baf128c2fab 43 extern "C" {
<> 132:9baf128c2fab 44 #endif
<> 132:9baf128c2fab 45
<> 132:9baf128c2fab 46 /* Exported types ------------------------------------------------------------*/
<> 132:9baf128c2fab 47 /* Exported constants --------------------------------------------------------*/
<> 132:9baf128c2fab 48
<> 132:9baf128c2fab 49 /* ########################## Module Selection ############################## */
<> 132:9baf128c2fab 50 /**
<> 132:9baf128c2fab 51 * @brief This is the list of modules to be used in the HAL driver
<> 132:9baf128c2fab 52 */
<> 132:9baf128c2fab 53 #define HAL_MODULE_ENABLED
<> 132:9baf128c2fab 54 #define HAL_ADC_MODULE_ENABLED
<> 132:9baf128c2fab 55 #define HAL_CAN_MODULE_ENABLED
<> 132:9baf128c2fab 56 #define HAL_CEC_MODULE_ENABLED
<> 132:9baf128c2fab 57 #define HAL_CRC_MODULE_ENABLED
<> 132:9baf128c2fab 58 #define HAL_CRYP_MODULE_ENABLED
<> 132:9baf128c2fab 59 #define HAL_DAC_MODULE_ENABLED
<> 132:9baf128c2fab 60 #define HAL_DCMI_MODULE_ENABLED
<> 132:9baf128c2fab 61 #define HAL_DMA_MODULE_ENABLED
<> 132:9baf128c2fab 62 #define HAL_DMA2D_MODULE_ENABLED
<> 132:9baf128c2fab 63 #define HAL_ETH_MODULE_ENABLED
<> 132:9baf128c2fab 64 #define HAL_FLASH_MODULE_ENABLED
<> 132:9baf128c2fab 65 #define HAL_NAND_MODULE_ENABLED
<> 132:9baf128c2fab 66 #define HAL_NOR_MODULE_ENABLED
<> 132:9baf128c2fab 67 #define HAL_SRAM_MODULE_ENABLED
<> 132:9baf128c2fab 68 #define HAL_SDRAM_MODULE_ENABLED
<> 132:9baf128c2fab 69 #define HAL_HASH_MODULE_ENABLED
<> 132:9baf128c2fab 70 #define HAL_GPIO_MODULE_ENABLED
<> 132:9baf128c2fab 71 #define HAL_I2C_MODULE_ENABLED
<> 132:9baf128c2fab 72 #define HAL_I2S_MODULE_ENABLED
<> 132:9baf128c2fab 73 #define HAL_IWDG_MODULE_ENABLED
<> 132:9baf128c2fab 74 #define HAL_LPTIM_MODULE_ENABLED
<> 132:9baf128c2fab 75 #define HAL_LTDC_MODULE_ENABLED
<> 132:9baf128c2fab 76 #define HAL_PWR_MODULE_ENABLED
<> 132:9baf128c2fab 77 #define HAL_QSPI_MODULE_ENABLED
<> 132:9baf128c2fab 78 #define HAL_RCC_MODULE_ENABLED
<> 132:9baf128c2fab 79 #define HAL_RNG_MODULE_ENABLED
<> 132:9baf128c2fab 80 #define HAL_RTC_MODULE_ENABLED
<> 132:9baf128c2fab 81 #define HAL_SAI_MODULE_ENABLED
<> 132:9baf128c2fab 82 #define HAL_SD_MODULE_ENABLED
<> 132:9baf128c2fab 83 #define HAL_SPDIFRX_MODULE_ENABLED
<> 132:9baf128c2fab 84 #define HAL_SPI_MODULE_ENABLED
<> 132:9baf128c2fab 85 #define HAL_TIM_MODULE_ENABLED
<> 132:9baf128c2fab 86 #define HAL_UART_MODULE_ENABLED
<> 132:9baf128c2fab 87 #define HAL_USART_MODULE_ENABLED
<> 132:9baf128c2fab 88 #define HAL_IRDA_MODULE_ENABLED
<> 132:9baf128c2fab 89 #define HAL_SMARTCARD_MODULE_ENABLED
<> 132:9baf128c2fab 90 #define HAL_WWDG_MODULE_ENABLED
<> 132:9baf128c2fab 91 #define HAL_CORTEX_MODULE_ENABLED
<> 132:9baf128c2fab 92 #define HAL_PCD_MODULE_ENABLED
<> 132:9baf128c2fab 93 #define HAL_HCD_MODULE_ENABLED
<> 132:9baf128c2fab 94 #define HAL_DFSDM_MODULE_ENABLED
<> 132:9baf128c2fab 95 #define HAL_DSI_MODULE_ENABLED
<> 132:9baf128c2fab 96 #define HAL_JPEG_MODULE_ENABLED
<> 132:9baf128c2fab 97 #define HAL_MDIOS_MODULE_ENABLED
<> 139:856d2700e60b 98 #define HAL_SMBUS_MODULE_ENABLED
<> 139:856d2700e60b 99 #define HAL_MMC_MODULE_ENABLED
<> 132:9baf128c2fab 100
<> 132:9baf128c2fab 101
<> 132:9baf128c2fab 102 /* ########################## HSE/HSI Values adaptation ##################### */
<> 132:9baf128c2fab 103 /**
<> 132:9baf128c2fab 104 * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
<> 132:9baf128c2fab 105 * This value is used by the RCC HAL module to compute the system frequency
<> 132:9baf128c2fab 106 * (when HSE is used as system clock source, directly or through the PLL).
<> 132:9baf128c2fab 107 */
<> 137:e1686b8d5b90 108 #if defined(TARGET_DISCO_F746NG) || defined(TARGET_DISCO_F769NI)
<> 137:e1686b8d5b90 109 #define HSE_VALUE 25000000U /*!< Value of the External oscillator in Hz */
<> 137:e1686b8d5b90 110 #else
<> 137:e1686b8d5b90 111 #define HSE_VALUE 8000000U /*!< Default value of the External oscillator in Hz */
<> 137:e1686b8d5b90 112 #endif
<> 132:9baf128c2fab 113
<> 132:9baf128c2fab 114 #if !defined (HSE_STARTUP_TIMEOUT)
<> 132:9baf128c2fab 115 #define HSE_STARTUP_TIMEOUT 200U /*!< Time out for HSE start up, in ms */
<> 132:9baf128c2fab 116 #endif /* HSE_STARTUP_TIMEOUT */
<> 132:9baf128c2fab 117
<> 132:9baf128c2fab 118 /**
<> 132:9baf128c2fab 119 * @brief Internal High Speed oscillator (HSI) value.
<> 132:9baf128c2fab 120 * This value is used by the RCC HAL module to compute the system frequency
<> 132:9baf128c2fab 121 * (when HSI is used as system clock source, directly or through the PLL).
<> 132:9baf128c2fab 122 */
<> 132:9baf128c2fab 123 #if !defined (HSI_VALUE)
<> 132:9baf128c2fab 124 #define HSI_VALUE 16000000U /*!< Value of the Internal oscillator in Hz*/
<> 132:9baf128c2fab 125 #endif /* HSI_VALUE */
<> 132:9baf128c2fab 126
<> 132:9baf128c2fab 127 /**
<> 132:9baf128c2fab 128 * @brief Internal Low Speed oscillator (LSI) value.
<> 132:9baf128c2fab 129 */
<> 132:9baf128c2fab 130 #if !defined (LSI_VALUE)
<> 132:9baf128c2fab 131 #define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
<> 132:9baf128c2fab 132 #endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
<> 132:9baf128c2fab 133 The real value may vary depending on the variations
<> 132:9baf128c2fab 134 in voltage and temperature. */
<> 132:9baf128c2fab 135 /**
<> 132:9baf128c2fab 136 * @brief External Low Speed oscillator (LSE) value.
<> 132:9baf128c2fab 137 */
<> 132:9baf128c2fab 138 #if !defined (LSE_VALUE)
<> 132:9baf128c2fab 139 #define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
<> 132:9baf128c2fab 140 #endif /* LSE_VALUE */
<> 132:9baf128c2fab 141
<> 132:9baf128c2fab 142 #if !defined (LSE_STARTUP_TIMEOUT)
<> 132:9baf128c2fab 143 #define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
<> 132:9baf128c2fab 144 #endif /* LSE_STARTUP_TIMEOUT */
<> 132:9baf128c2fab 145
<> 132:9baf128c2fab 146 /**
<> 132:9baf128c2fab 147 * @brief External clock source for I2S peripheral
<> 132:9baf128c2fab 148 * This value is used by the I2S HAL module to compute the I2S clock source
<> 132:9baf128c2fab 149 * frequency, this source is inserted directly through I2S_CKIN pad.
<> 132:9baf128c2fab 150 */
<> 132:9baf128c2fab 151 #if !defined (EXTERNAL_CLOCK_VALUE)
<> 132:9baf128c2fab 152 #define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the Internal oscillator in Hz*/
<> 132:9baf128c2fab 153 #endif /* EXTERNAL_CLOCK_VALUE */
<> 132:9baf128c2fab 154
<> 132:9baf128c2fab 155 /* Tip: To avoid modifying this file each time you need to use different HSE,
<> 132:9baf128c2fab 156 === you can define the HSE value in your toolchain compiler preprocessor. */
<> 132:9baf128c2fab 157
<> 132:9baf128c2fab 158 /* ########################### System Configuration ######################### */
<> 132:9baf128c2fab 159 /**
<> 132:9baf128c2fab 160 * @brief This is the HAL system configuration section
<> 132:9baf128c2fab 161 */
<> 132:9baf128c2fab 162 #define VDD_VALUE 3300U /*!< Value of VDD in mv */
<> 132:9baf128c2fab 163 #define TICK_INT_PRIORITY 0x0FU /*!< tick interrupt priority */
<> 132:9baf128c2fab 164 #define USE_RTOS 0U
<> 132:9baf128c2fab 165 #define PREFETCH_ENABLE 1U
<> 132:9baf128c2fab 166 #define ART_ACCLERATOR_ENABLE 1U /* To enable instruction cache and prefetch */
<> 132:9baf128c2fab 167
<> 132:9baf128c2fab 168 /* ########################## Assert Selection ############################## */
<> 132:9baf128c2fab 169 /**
<> 132:9baf128c2fab 170 * @brief Uncomment the line below to expanse the "assert_param" macro in the
<> 132:9baf128c2fab 171 * HAL drivers code
<> 132:9baf128c2fab 172 */
<> 132:9baf128c2fab 173 /* #define USE_FULL_ASSERT 1 */
<> 132:9baf128c2fab 174
<> 132:9baf128c2fab 175 /* ################## Ethernet peripheral configuration ##################### */
<> 132:9baf128c2fab 176
<> 132:9baf128c2fab 177 /* Section 1 : Ethernet peripheral configuration */
<> 132:9baf128c2fab 178
<> 132:9baf128c2fab 179 /* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
<> 132:9baf128c2fab 180 #define MAC_ADDR0 2U
<> 132:9baf128c2fab 181 #define MAC_ADDR1 0U
<> 132:9baf128c2fab 182 #define MAC_ADDR2 0U
<> 132:9baf128c2fab 183 #define MAC_ADDR3 0U
<> 132:9baf128c2fab 184 #define MAC_ADDR4 0U
<> 132:9baf128c2fab 185 #define MAC_ADDR5 0U
<> 132:9baf128c2fab 186
<> 132:9baf128c2fab 187 /* Definition of the Ethernet driver buffers size and count */
<> 132:9baf128c2fab 188 #define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
<> 132:9baf128c2fab 189 #define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
<> 132:9baf128c2fab 190 #define ETH_RXBUFNB 4U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
<> 132:9baf128c2fab 191 #define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
<> 132:9baf128c2fab 192
<> 132:9baf128c2fab 193 /* Section 2: PHY configuration section */
<> 132:9baf128c2fab 194
<> 132:9baf128c2fab 195 /* DP83848 PHY Address*/
<> 132:9baf128c2fab 196 #define DP83848_PHY_ADDRESS 0x01U
<> 132:9baf128c2fab 197 /* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
<> 132:9baf128c2fab 198 #define PHY_RESET_DELAY 0x000000FFU
<> 132:9baf128c2fab 199 /* PHY Configuration delay */
<> 132:9baf128c2fab 200 #define PHY_CONFIG_DELAY 0x00000FFFU
<> 132:9baf128c2fab 201
<> 132:9baf128c2fab 202 #define PHY_READ_TO 0x0000FFFFU
<> 132:9baf128c2fab 203 #define PHY_WRITE_TO 0x0000FFFFU
<> 132:9baf128c2fab 204
<> 132:9baf128c2fab 205 /* Section 3: Common PHY Registers */
<> 132:9baf128c2fab 206
<> 132:9baf128c2fab 207 #define PHY_BCR ((uint16_t)0x00U) /*!< Transceiver Basic Control Register */
<> 132:9baf128c2fab 208 #define PHY_BSR ((uint16_t)0x01U) /*!< Transceiver Basic Status Register */
<> 132:9baf128c2fab 209
<> 132:9baf128c2fab 210 #define PHY_RESET ((uint16_t)0x8000U) /*!< PHY Reset */
<> 132:9baf128c2fab 211 #define PHY_LOOPBACK ((uint16_t)0x4000U) /*!< Select loop-back mode */
<> 132:9baf128c2fab 212 #define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) /*!< Set the full-duplex mode at 100 Mb/s */
<> 132:9baf128c2fab 213 #define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) /*!< Set the half-duplex mode at 100 Mb/s */
<> 132:9baf128c2fab 214 #define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) /*!< Set the full-duplex mode at 10 Mb/s */
<> 132:9baf128c2fab 215 #define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) /*!< Set the half-duplex mode at 10 Mb/s */
<> 132:9baf128c2fab 216 #define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) /*!< Enable auto-negotiation function */
<> 132:9baf128c2fab 217 #define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) /*!< Restart auto-negotiation function */
<> 132:9baf128c2fab 218 #define PHY_POWERDOWN ((uint16_t)0x0800U) /*!< Select the power down mode */
<> 132:9baf128c2fab 219 #define PHY_ISOLATE ((uint16_t)0x0400U) /*!< Isolate PHY from MII */
<> 132:9baf128c2fab 220
<> 132:9baf128c2fab 221 #define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) /*!< Auto-Negotiation process completed */
<> 132:9baf128c2fab 222 #define PHY_LINKED_STATUS ((uint16_t)0x0004U) /*!< Valid link established */
<> 132:9baf128c2fab 223 #define PHY_JABBER_DETECTION ((uint16_t)0x0002U) /*!< Jabber condition detected */
<> 132:9baf128c2fab 224
<> 132:9baf128c2fab 225 /* Section 4: Extended PHY Registers */
<> 132:9baf128c2fab 226
<> 132:9baf128c2fab 227 #define PHY_SR ((uint16_t)0x10U) /*!< PHY status register Offset */
<> 132:9baf128c2fab 228 #define PHY_MICR ((uint16_t)0x11U) /*!< MII Interrupt Control Register */
<> 132:9baf128c2fab 229 #define PHY_MISR ((uint16_t)0x12U) /*!< MII Interrupt Status and Misc. Control Register */
<> 132:9baf128c2fab 230
<> 132:9baf128c2fab 231 #define PHY_LINK_STATUS ((uint16_t)0x0001U) /*!< PHY Link mask */
<> 132:9baf128c2fab 232 #define PHY_SPEED_STATUS ((uint16_t)0x0002U) /*!< PHY Speed mask */
<> 132:9baf128c2fab 233 #define PHY_DUPLEX_STATUS ((uint16_t)0x0004U) /*!< PHY Duplex mask */
<> 132:9baf128c2fab 234
<> 132:9baf128c2fab 235 #define PHY_MICR_INT_EN ((uint16_t)0x0002U) /*!< PHY Enable interrupts */
<> 132:9baf128c2fab 236 #define PHY_MICR_INT_OE ((uint16_t)0x0001U) /*!< PHY Enable output interrupt events */
<> 132:9baf128c2fab 237
<> 132:9baf128c2fab 238 #define PHY_MISR_LINK_INT_EN ((uint16_t)0x0020U) /*!< Enable Interrupt on change of link status */
<> 132:9baf128c2fab 239 #define PHY_LINK_INTERRUPT ((uint16_t)0x2000U) /*!< PHY link status interrupt mask */
<> 132:9baf128c2fab 240
<> 132:9baf128c2fab 241 /* ################## SPI peripheral configuration ########################## */
<> 132:9baf128c2fab 242
<> 132:9baf128c2fab 243 /* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
<> 132:9baf128c2fab 244 * Activated: CRC code is present inside driver
<> 132:9baf128c2fab 245 * Deactivated: CRC code cleaned from driver
<> 132:9baf128c2fab 246 */
<> 132:9baf128c2fab 247
<> 132:9baf128c2fab 248 #define USE_SPI_CRC 1U
<> 132:9baf128c2fab 249
<> 132:9baf128c2fab 250 /* Includes ------------------------------------------------------------------*/
<> 132:9baf128c2fab 251 /**
<> 132:9baf128c2fab 252 * @brief Include module's header file
<> 132:9baf128c2fab 253 */
<> 132:9baf128c2fab 254
<> 132:9baf128c2fab 255 #ifdef HAL_RCC_MODULE_ENABLED
<> 132:9baf128c2fab 256 #include "stm32f7xx_hal_rcc.h"
<> 132:9baf128c2fab 257 #endif /* HAL_RCC_MODULE_ENABLED */
<> 132:9baf128c2fab 258
<> 132:9baf128c2fab 259 #ifdef HAL_GPIO_MODULE_ENABLED
<> 132:9baf128c2fab 260 #include "stm32f7xx_hal_gpio.h"
<> 132:9baf128c2fab 261 #endif /* HAL_GPIO_MODULE_ENABLED */
<> 132:9baf128c2fab 262
<> 132:9baf128c2fab 263 #ifdef HAL_DMA_MODULE_ENABLED
<> 132:9baf128c2fab 264 #include "stm32f7xx_hal_dma.h"
<> 132:9baf128c2fab 265 #endif /* HAL_DMA_MODULE_ENABLED */
<> 132:9baf128c2fab 266
<> 132:9baf128c2fab 267 #ifdef HAL_CORTEX_MODULE_ENABLED
<> 132:9baf128c2fab 268 #include "stm32f7xx_hal_cortex.h"
<> 132:9baf128c2fab 269 #endif /* HAL_CORTEX_MODULE_ENABLED */
<> 132:9baf128c2fab 270
<> 132:9baf128c2fab 271 #ifdef HAL_ADC_MODULE_ENABLED
<> 132:9baf128c2fab 272 #include "stm32f7xx_hal_adc.h"
<> 132:9baf128c2fab 273 #endif /* HAL_ADC_MODULE_ENABLED */
<> 132:9baf128c2fab 274
<> 132:9baf128c2fab 275 #ifdef HAL_CAN_MODULE_ENABLED
<> 132:9baf128c2fab 276 #include "stm32f7xx_hal_can.h"
<> 132:9baf128c2fab 277 #endif /* HAL_CAN_MODULE_ENABLED */
<> 132:9baf128c2fab 278
<> 132:9baf128c2fab 279 #ifdef HAL_CEC_MODULE_ENABLED
<> 132:9baf128c2fab 280 #include "stm32f7xx_hal_cec.h"
<> 132:9baf128c2fab 281 #endif /* HAL_CEC_MODULE_ENABLED */
<> 132:9baf128c2fab 282
<> 132:9baf128c2fab 283 #ifdef HAL_CRC_MODULE_ENABLED
<> 132:9baf128c2fab 284 #include "stm32f7xx_hal_crc.h"
<> 132:9baf128c2fab 285 #endif /* HAL_CRC_MODULE_ENABLED */
<> 132:9baf128c2fab 286
<> 132:9baf128c2fab 287 #ifdef HAL_CRYP_MODULE_ENABLED
<> 132:9baf128c2fab 288 #include "stm32f7xx_hal_cryp.h"
<> 132:9baf128c2fab 289 #endif /* HAL_CRYP_MODULE_ENABLED */
<> 132:9baf128c2fab 290
<> 132:9baf128c2fab 291 #ifdef HAL_DMA2D_MODULE_ENABLED
<> 132:9baf128c2fab 292 #include "stm32f7xx_hal_dma2d.h"
<> 132:9baf128c2fab 293 #endif /* HAL_DMA2D_MODULE_ENABLED */
<> 132:9baf128c2fab 294
<> 132:9baf128c2fab 295 #ifdef HAL_DAC_MODULE_ENABLED
<> 132:9baf128c2fab 296 #include "stm32f7xx_hal_dac.h"
<> 132:9baf128c2fab 297 #endif /* HAL_DAC_MODULE_ENABLED */
<> 132:9baf128c2fab 298
<> 132:9baf128c2fab 299 #ifdef HAL_DCMI_MODULE_ENABLED
<> 132:9baf128c2fab 300 #include "stm32f7xx_hal_dcmi.h"
<> 132:9baf128c2fab 301 #endif /* HAL_DCMI_MODULE_ENABLED */
<> 132:9baf128c2fab 302
<> 132:9baf128c2fab 303 #ifdef HAL_ETH_MODULE_ENABLED
<> 132:9baf128c2fab 304 #include "stm32f7xx_hal_eth.h"
<> 132:9baf128c2fab 305 #endif /* HAL_ETH_MODULE_ENABLED */
<> 132:9baf128c2fab 306
<> 132:9baf128c2fab 307 #ifdef HAL_FLASH_MODULE_ENABLED
<> 132:9baf128c2fab 308 #include "stm32f7xx_hal_flash.h"
<> 132:9baf128c2fab 309 #endif /* HAL_FLASH_MODULE_ENABLED */
<> 132:9baf128c2fab 310
<> 132:9baf128c2fab 311 #ifdef HAL_SRAM_MODULE_ENABLED
<> 132:9baf128c2fab 312 #include "stm32f7xx_hal_sram.h"
<> 132:9baf128c2fab 313 #endif /* HAL_SRAM_MODULE_ENABLED */
<> 132:9baf128c2fab 314
<> 132:9baf128c2fab 315 #ifdef HAL_NOR_MODULE_ENABLED
<> 132:9baf128c2fab 316 #include "stm32f7xx_hal_nor.h"
<> 132:9baf128c2fab 317 #endif /* HAL_NOR_MODULE_ENABLED */
<> 132:9baf128c2fab 318
<> 132:9baf128c2fab 319 #ifdef HAL_NAND_MODULE_ENABLED
<> 132:9baf128c2fab 320 #include "stm32f7xx_hal_nand.h"
<> 132:9baf128c2fab 321 #endif /* HAL_NAND_MODULE_ENABLED */
<> 132:9baf128c2fab 322
<> 132:9baf128c2fab 323 #ifdef HAL_SDRAM_MODULE_ENABLED
<> 132:9baf128c2fab 324 #include "stm32f7xx_hal_sdram.h"
<> 132:9baf128c2fab 325 #endif /* HAL_SDRAM_MODULE_ENABLED */
<> 132:9baf128c2fab 326
<> 132:9baf128c2fab 327 #ifdef HAL_HASH_MODULE_ENABLED
<> 132:9baf128c2fab 328 #include "stm32f7xx_hal_hash.h"
<> 132:9baf128c2fab 329 #endif /* HAL_HASH_MODULE_ENABLED */
<> 132:9baf128c2fab 330
<> 132:9baf128c2fab 331 #ifdef HAL_I2C_MODULE_ENABLED
<> 132:9baf128c2fab 332 #include "stm32f7xx_hal_i2c.h"
<> 132:9baf128c2fab 333 #endif /* HAL_I2C_MODULE_ENABLED */
<> 132:9baf128c2fab 334
<> 132:9baf128c2fab 335 #ifdef HAL_I2S_MODULE_ENABLED
<> 132:9baf128c2fab 336 #include "stm32f7xx_hal_i2s.h"
<> 132:9baf128c2fab 337 #endif /* HAL_I2S_MODULE_ENABLED */
<> 132:9baf128c2fab 338
<> 132:9baf128c2fab 339 #ifdef HAL_IWDG_MODULE_ENABLED
<> 132:9baf128c2fab 340 #include "stm32f7xx_hal_iwdg.h"
<> 132:9baf128c2fab 341 #endif /* HAL_IWDG_MODULE_ENABLED */
<> 132:9baf128c2fab 342
<> 132:9baf128c2fab 343 #ifdef HAL_LPTIM_MODULE_ENABLED
<> 132:9baf128c2fab 344 #include "stm32f7xx_hal_lptim.h"
<> 132:9baf128c2fab 345 #endif /* HAL_LPTIM_MODULE_ENABLED */
<> 132:9baf128c2fab 346
<> 132:9baf128c2fab 347 #ifdef HAL_LTDC_MODULE_ENABLED
<> 132:9baf128c2fab 348 #include "stm32f7xx_hal_ltdc.h"
<> 132:9baf128c2fab 349 #endif /* HAL_LTDC_MODULE_ENABLED */
<> 132:9baf128c2fab 350
<> 132:9baf128c2fab 351 #ifdef HAL_PWR_MODULE_ENABLED
<> 132:9baf128c2fab 352 #include "stm32f7xx_hal_pwr.h"
<> 132:9baf128c2fab 353 #endif /* HAL_PWR_MODULE_ENABLED */
<> 132:9baf128c2fab 354
<> 132:9baf128c2fab 355 #ifdef HAL_QSPI_MODULE_ENABLED
<> 132:9baf128c2fab 356 #include "stm32f7xx_hal_qspi.h"
<> 132:9baf128c2fab 357 #endif /* HAL_QSPI_MODULE_ENABLED */
<> 132:9baf128c2fab 358
<> 132:9baf128c2fab 359 #ifdef HAL_RNG_MODULE_ENABLED
<> 132:9baf128c2fab 360 #include "stm32f7xx_hal_rng.h"
<> 132:9baf128c2fab 361 #endif /* HAL_RNG_MODULE_ENABLED */
<> 132:9baf128c2fab 362
<> 132:9baf128c2fab 363 #ifdef HAL_RTC_MODULE_ENABLED
<> 132:9baf128c2fab 364 #include "stm32f7xx_hal_rtc.h"
<> 132:9baf128c2fab 365 #endif /* HAL_RTC_MODULE_ENABLED */
<> 132:9baf128c2fab 366
<> 132:9baf128c2fab 367 #ifdef HAL_SAI_MODULE_ENABLED
<> 132:9baf128c2fab 368 #include "stm32f7xx_hal_sai.h"
<> 132:9baf128c2fab 369 #endif /* HAL_SAI_MODULE_ENABLED */
<> 132:9baf128c2fab 370
<> 132:9baf128c2fab 371 #ifdef HAL_SD_MODULE_ENABLED
<> 132:9baf128c2fab 372 #include "stm32f7xx_hal_sd.h"
<> 132:9baf128c2fab 373 #endif /* HAL_SD_MODULE_ENABLED */
<> 132:9baf128c2fab 374
<> 132:9baf128c2fab 375 #ifdef HAL_SPDIFRX_MODULE_ENABLED
<> 132:9baf128c2fab 376 #include "stm32f7xx_hal_spdifrx.h"
<> 132:9baf128c2fab 377 #endif /* HAL_SPDIFRX_MODULE_ENABLED */
<> 132:9baf128c2fab 378
<> 132:9baf128c2fab 379 #ifdef HAL_SPI_MODULE_ENABLED
<> 132:9baf128c2fab 380 #include "stm32f7xx_hal_spi.h"
<> 132:9baf128c2fab 381 #endif /* HAL_SPI_MODULE_ENABLED */
<> 132:9baf128c2fab 382
<> 132:9baf128c2fab 383 #ifdef HAL_TIM_MODULE_ENABLED
<> 132:9baf128c2fab 384 #include "stm32f7xx_hal_tim.h"
<> 132:9baf128c2fab 385 #endif /* HAL_TIM_MODULE_ENABLED */
<> 132:9baf128c2fab 386
<> 132:9baf128c2fab 387 #ifdef HAL_UART_MODULE_ENABLED
<> 132:9baf128c2fab 388 #include "stm32f7xx_hal_uart.h"
<> 132:9baf128c2fab 389 #endif /* HAL_UART_MODULE_ENABLED */
<> 132:9baf128c2fab 390
<> 132:9baf128c2fab 391 #ifdef HAL_USART_MODULE_ENABLED
<> 132:9baf128c2fab 392 #include "stm32f7xx_hal_usart.h"
<> 132:9baf128c2fab 393 #endif /* HAL_USART_MODULE_ENABLED */
<> 132:9baf128c2fab 394
<> 132:9baf128c2fab 395 #ifdef HAL_IRDA_MODULE_ENABLED
<> 132:9baf128c2fab 396 #include "stm32f7xx_hal_irda.h"
<> 132:9baf128c2fab 397 #endif /* HAL_IRDA_MODULE_ENABLED */
<> 132:9baf128c2fab 398
<> 132:9baf128c2fab 399 #ifdef HAL_SMARTCARD_MODULE_ENABLED
<> 132:9baf128c2fab 400 #include "stm32f7xx_hal_smartcard.h"
<> 132:9baf128c2fab 401 #endif /* HAL_SMARTCARD_MODULE_ENABLED */
<> 132:9baf128c2fab 402
<> 132:9baf128c2fab 403 #ifdef HAL_WWDG_MODULE_ENABLED
<> 132:9baf128c2fab 404 #include "stm32f7xx_hal_wwdg.h"
<> 132:9baf128c2fab 405 #endif /* HAL_WWDG_MODULE_ENABLED */
<> 132:9baf128c2fab 406
<> 132:9baf128c2fab 407 #ifdef HAL_PCD_MODULE_ENABLED
<> 132:9baf128c2fab 408 #include "stm32f7xx_hal_pcd.h"
<> 132:9baf128c2fab 409 #endif /* HAL_PCD_MODULE_ENABLED */
<> 132:9baf128c2fab 410
<> 132:9baf128c2fab 411 #ifdef HAL_HCD_MODULE_ENABLED
<> 132:9baf128c2fab 412 #include "stm32f7xx_hal_hcd.h"
<> 132:9baf128c2fab 413 #endif /* HAL_HCD_MODULE_ENABLED */
<> 132:9baf128c2fab 414
<> 132:9baf128c2fab 415 #ifdef HAL_DFSDM_MODULE_ENABLED
<> 132:9baf128c2fab 416 #include "stm32f7xx_hal_dfsdm.h"
<> 132:9baf128c2fab 417 #endif /* HAL_DFSDM_MODULE_ENABLED */
<> 132:9baf128c2fab 418
<> 132:9baf128c2fab 419 #ifdef HAL_DSI_MODULE_ENABLED
<> 132:9baf128c2fab 420 #include "stm32f7xx_hal_dsi.h"
<> 132:9baf128c2fab 421 #endif /* HAL_DSI_MODULE_ENABLED */
<> 132:9baf128c2fab 422
<> 132:9baf128c2fab 423 #ifdef HAL_JPEG_MODULE_ENABLED
<> 132:9baf128c2fab 424 #include "stm32f7xx_hal_jpeg.h"
<> 132:9baf128c2fab 425 #endif /* HAL_JPEG_MODULE_ENABLED */
<> 132:9baf128c2fab 426
<> 132:9baf128c2fab 427 #ifdef HAL_MDIOS_MODULE_ENABLED
<> 132:9baf128c2fab 428 #include "stm32f7xx_hal_mdios.h"
<> 132:9baf128c2fab 429 #endif /* HAL_MDIOS_MODULE_ENABLED */
<> 132:9baf128c2fab 430
<> 139:856d2700e60b 431 #ifdef HAL_SMBUS_MODULE_ENABLED
<> 139:856d2700e60b 432 #include "stm32f7xx_hal_smbus.h"
<> 139:856d2700e60b 433 #endif /* HAL_SMBUS_MODULE_ENABLED */
<> 139:856d2700e60b 434
<> 139:856d2700e60b 435 #ifdef HAL_MMC_MODULE_ENABLED
<> 139:856d2700e60b 436 #include "stm32f7xx_hal_mmc.h"
<> 139:856d2700e60b 437 #endif /* HAL_MMC_MODULE_ENABLED */
<> 139:856d2700e60b 438
<> 132:9baf128c2fab 439 /* Exported macro ------------------------------------------------------------*/
<> 132:9baf128c2fab 440 #ifdef USE_FULL_ASSERT
<> 132:9baf128c2fab 441 /**
<> 132:9baf128c2fab 442 * @brief The assert_param macro is used for function's parameters check.
<> 132:9baf128c2fab 443 * @param expr: If expr is false, it calls assert_failed function
<> 132:9baf128c2fab 444 * which reports the name of the source file and the source
<> 132:9baf128c2fab 445 * line number of the call that failed.
<> 132:9baf128c2fab 446 * If expr is true, it returns no value.
<> 132:9baf128c2fab 447 * @retval None
<> 132:9baf128c2fab 448 */
<> 132:9baf128c2fab 449 #include "mbed_assert.h"
<> 132:9baf128c2fab 450 #define assert_param(expr) MBED_ASSERT(expr)
<> 132:9baf128c2fab 451 #else
<> 132:9baf128c2fab 452 #define assert_param(expr) ((void)0)
<> 132:9baf128c2fab 453 #endif /* USE_FULL_ASSERT */
<> 132:9baf128c2fab 454
<> 132:9baf128c2fab 455
<> 132:9baf128c2fab 456 #ifdef __cplusplus
<> 132:9baf128c2fab 457 }
<> 132:9baf128c2fab 458 #endif
<> 132:9baf128c2fab 459
<> 132:9baf128c2fab 460 #endif /* __STM32F7xx_HAL_CONF_H */
<> 132:9baf128c2fab 461
<> 132:9baf128c2fab 462
<> 132:9baf128c2fab 463 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/