STM32F7 builds broken. This is a work around to at least keep them building.

This commit is contained in:
Gregory Nutt 2017-08-13 06:44:04 -06:00
parent c1b6edec13
commit 03c26df04a

View File

@ -60,6 +60,15 @@
#define HSE_DIVISOR (STM32_HSE_FREQUENCY + 500000) / 1000000
/* If CONFIG_STM32F7_DSIHOST is defined in the board configuration, then
* STM32_RCC_DCKCFGR2_DSISRC must also be defined to selected the clock
* source.
*/
#ifndef STM32_RCC_DCKCFGR2_DSISRC
# define STM32_RCC_DCKCFGR2_DSISRC RCC_DCKCFGR2_DSISEL_PHY
#endif
/* FLASH wait states */
#if !defined(BOARD_FLASH_WAITSTATES)