Commit a181eb3b authored by Sergei Miroshnichenko's avatar Sergei Miroshnichenko

RM#1047 stm32: Add configuration options for F76xxx/F77xxx MCUs

parent 8148f3d8
...@@ -100,14 +100,14 @@ ...@@ -100,14 +100,14 @@
# if (CONFIG_STM32_PLL_Q < 4) || (CONFIG_STM32_PLL_Q > 15) # if (CONFIG_STM32_PLL_Q < 4) || (CONFIG_STM32_PLL_Q > 15)
# error "Incorrect PLL_Q value." # error "Incorrect PLL_Q value."
# endif # endif
# if defined(CONFIG_SYS_STM32F769I_DISCO) # if defined(CONFIG_SYS_STM32F76xxx) || defined(CONFIG_SYS_STM32F77xxx)
# if !defined(CONFIG_STM32_PLL_R) # if !defined(CONFIG_STM32_PLL_R)
# error "PLL_R must be set for STM32F769." # error "PLL_R must be set for STM32F769."
# endif # endif
# if (CONFIG_STM32_PLL_R < 2) || (CONFIG_STM32_PLL_R > 7) # if (CONFIG_STM32_PLL_R < 2) || (CONFIG_STM32_PLL_R > 7)
# error "Incorrect PLL_R value." # error "Incorrect PLL_R value."
# endif # endif
# endif /* CONFIG_SYS_STM32F769I_DISCO */ # endif /* STM32F76xxx || STM32F77xxx */
#endif /* CONFIG_STM32_SYS_CLK_PLL */ #endif /* CONFIG_STM32_SYS_CLK_PLL */
/* /*
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
*/ */
#define CONFIG_SYS_STM32 #define CONFIG_SYS_STM32
#define CONFIG_SYS_STM32F7 #define CONFIG_SYS_STM32F7
#define CONFIG_SYS_STM32F76xxx
#undef CONFIG_SYS_STM32F7_DISCO #undef CONFIG_SYS_STM32F7_DISCO
#define CONFIG_SYS_STM32F769I_DISCO #define CONFIG_SYS_STM32F769I_DISCO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment