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:
parent
1c9840c420
commit
d46c1a0c98
3 changed files with 40 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue