stm32cube: build stm32xxx_ll_spi if CONFIG_SPI
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
0329450088
commit
ae4363817b
4 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,7 @@ enum stm32f3x_pin_config_mode {
|
|||
#include <stm32f3xx_ll_bus.h>
|
||||
#include <stm32f3xx_ll_rcc.h>
|
||||
#include <stm32f3xx_ll_system.h>
|
||||
#include <stm32f3xx_ll_spi.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
|
|
|
@ -57,6 +57,7 @@ enum stm32f4x_pin_config_mode {
|
|||
#include <stm32f4xx_ll_bus.h>
|
||||
#include <stm32f4xx_ll_rcc.h>
|
||||
#include <stm32f4xx_ll_system.h>
|
||||
#include <stm32f4xx_ll_spi.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include <stm32l4xx_ll_bus.h>
|
||||
#include <stm32l4xx_ll_rcc.h>
|
||||
#include <stm32l4xx_ll_system.h>
|
||||
#include <stm32l4xx_ll_spi.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue