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 <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2025-05-20 05:32:04 -04:00
parent cdb5b56911
commit a8e44fd308
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B

View File

@ -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)