From 9af9a1dbfaa5e26a21fc9b4ceb70329a2db49d62 Mon Sep 17 00:00:00 2001 From: Mathias Nord Date: Tue, 3 Dec 2019 14:45:47 +0100 Subject: [PATCH] stm32g0: use spi v2 --- include/libopencm3/stm32/g0/spi.h | 2 +- lib/stm32/g0/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libopencm3/stm32/g0/spi.h b/include/libopencm3/stm32/g0/spi.h index 0fbe0765..5eb17bc9 100644 --- a/include/libopencm3/stm32/g0/spi.h +++ b/include/libopencm3/stm32/g0/spi.h @@ -29,6 +29,6 @@ #define LIBOPENCM3_SPI_H #include -#include +#include #endif diff --git a/lib/stm32/g0/Makefile b/lib/stm32/g0/Makefile index 979ddcee..7379ab7b 100644 --- a/lib/stm32/g0/Makefile +++ b/lib/stm32/g0/Makefile @@ -39,14 +39,14 @@ OBJS += dma_common_l1f013.o OBJS += dmamux.o OBJS += exti.o exti_common_all.o OBJS += flash.o flash_common_all.o -OBJS += gpio_common_all.o gpio_common_f0234.o +OBJS += gpio_common_all.o gpio_common_f0234.o OBJS += i2c_common_v2.o OBJS += iwdg_common_all.o OBJS += lptimer_common_all.o OBJS += pwr.o OBJS += rcc.o rcc_common_all.o OBJS += rng_common_v1.o -OBJS += spi_common_all.o spi_common_v1.o spi_common_v1_frf.o +OBJS += spi_common_all.o spi_common_v2.o OBJS += timer_common_all.o OBJS += usart_common_all.o usart_common_v2.o