diff --git a/src/stm32/Makefile b/src/stm32/Makefile index bd95028..4e66fe6 100644 --- a/src/stm32/Makefile +++ b/src/stm32/Makefile @@ -39,8 +39,8 @@ src-$(CONFIG_MACH_STM32G0) += stm32/stm32g0.c src-$(CONFIG_MACH_STM32G4) += stm32/stm32g4.c ../lib/stm32g4/system_stm32g4xx.c src-$(CONFIG_MACH_STM32H7) += stm32/stm32h7.c ../lib/stm32h7/system_stm32h7xx.c timer-src-y := generic/armcm_timer.c -timer-src-$(CONFIG_MACH_STM32F0) := generic/timer_irq.c stm32/stm32f0_timer.c -timer-src-$(CONFIG_MACH_STM32G0) := generic/timer_irq.c stm32/stm32f0_timer.c +timer-src-$(CONFIG_MACH_STM32F0) := stm32/stm32f0_timer.c +timer-src-$(CONFIG_MACH_STM32G0) := stm32/stm32f0_timer.c gpio-src-y := stm32/gpio.c stm32/gpioperiph.c gpio-src-$(CONFIG_MACH_STM32F1) := stm32/gpio.c src-y += $(timer-src-y) $(gpio-src-y)