From bc45041179664562da49b5961e2996d5111d3af4 Mon Sep 17 00:00:00 2001 From: StefansE Date: Wed, 25 Mar 2026 16:12:57 +0100 Subject: [PATCH] Working TIM2 --- .cproject | 4 +- .gitignore | 1 + .mxproject | 36 +- .settings/language.settings.xml | 4 +- .settings/stm32cubeide.project.prefs | 3 + Core/Inc/dma.h | 52 + Core/Inc/stm32f1xx_hal_conf.h | 4 +- Core/Inc/stm32f1xx_it.h | 2 + Core/Inc/tim.h | 54 + Core/Src/dma.c | 55 + Core/Src/main.c | 22 +- Core/Src/stm32f1xx_it.c | 31 +- Core/Src/tim.c | 171 + .../Inc/stm32f1xx_hal_tim.h | 2153 +++++ .../Inc/stm32f1xx_hal_tim_ex.h | 261 + .../Inc/stm32f1xx_ll_tim.h | 3901 +++++++++ .../Src/stm32f1xx_hal_tim.c | 7629 +++++++++++++++++ .../Src/stm32f1xx_hal_tim_ex.c | 2359 +++++ LedRing Debug.launch | 86 + LedRing Run.launch | 87 + LedRing.ioc | 74 +- 21 files changed, 16939 insertions(+), 50 deletions(-) create mode 100644 .gitignore create mode 100644 .settings/stm32cubeide.project.prefs create mode 100644 Core/Inc/dma.h create mode 100644 Core/Inc/tim.h create mode 100644 Core/Src/dma.c create mode 100644 Core/Src/tim.c create mode 100644 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h create mode 100644 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h create mode 100644 Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h create mode 100644 Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c create mode 100644 Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c create mode 100644 LedRing Debug.launch create mode 100644 LedRing Run.launch diff --git a/.cproject b/.cproject index ee9171b..c060ea5 100644 --- a/.cproject +++ b/.cproject @@ -22,7 +22,7 @@