stm32/l1: enable spi peripherals

STM32L1 uses the same spi controller as STM32F1 so we can just set the
right addresses and enable them. We also need to add the fixup names and
to correctly include the header for ST LL HAL.

Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson 2019-10-03 20:57:43 +00:00 committed by Maureen Helm
commit d46c1a0c98
3 changed files with 40 additions and 0 deletions

View file

@ -51,6 +51,10 @@
#include <stm32l1xx_ll_i2c.h>
#endif
#ifdef CONFIG_SPI_STM32
#include <stm32l1xx_ll_spi.h>
#endif
#ifdef CONFIG_WWDG_STM32
#include <stm32l1xx_ll_wwdg.h>
#endif