From a8e44fd3089cf94cb0ace970c4148f6aab078cc0 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Tue, 20 May 2025 05:32:04 -0400 Subject: [PATCH] stm32: remove timer_irq.c from build Katapult does not depend on Klipper's "timer_irc.c" as it does not reference the "timer_dispatch_many()" method. Remove it from the makefile to fix G0 and F0 builds. Signed-off-by: Eric Callahan --- src/stm32/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)