From 8d1bb4fadbb6a1b6b7f2fde90c13bf315ce43ccb Mon Sep 17 00:00:00 2001 From: hardware Date: Thu, 16 Jul 2026 16:49:58 +0100 Subject: [PATCH] Fertirrega v6 with internal temperature (but slow) --- Fertirrega_v6/.cproject | 4 +- Fertirrega_v6/.mxproject | 32 +- .../com.st.stm32cube.ide.mcu.sfrview.prefs | 2 + Fertirrega_v6/Core/Inc/ad5934_driver.h | 34 +- Fertirrega_v6/Core/Inc/ads1015_driver.h | 8 +- Fertirrega_v6/Core/Inc/dma.h | 52 + Fertirrega_v6/Core/Inc/flash_manager.h | 17 +- Fertirrega_v6/Core/Inc/main.h | 9 +- Fertirrega_v6/Core/Inc/stm32f1xx_hal_conf.h | 4 +- Fertirrega_v6/Core/Inc/stm32f1xx_it.h | 1 + Fertirrega_v6/Core/Inc/tim.h | 52 + Fertirrega_v6/Core/Src/ad5934_driver.c | 189 +- Fertirrega_v6/Core/Src/adc.c | 47 +- Fertirrega_v6/Core/Src/ads1015_driver.c | 28 +- Fertirrega_v6/Core/Src/dma.c | 55 + Fertirrega_v6/Core/Src/flash_manager.c | 3 + Fertirrega_v6/Core/Src/gpio.c | 3 +- Fertirrega_v6/Core/Src/main.c | 236 +- Fertirrega_v6/Core/Src/stm32f1xx_it.c | 15 + Fertirrega_v6/Core/Src/tim.c | 105 + .../Core/Startup/startup_stm32f103c8tx.s | 2 +- .../Debug/Core/Src/ad5934_driver.cyclo | 30 +- Fertirrega_v6/Debug/Core/Src/ad5934_driver.d | 9 +- Fertirrega_v6/Debug/Core/Src/ad5934_driver.o | Bin 786948 -> 824452 bytes Fertirrega_v6/Debug/Core/Src/ad5934_driver.su | 30 +- Fertirrega_v6/Debug/Core/Src/adc.cyclo | 8 +- Fertirrega_v6/Debug/Core/Src/adc.d | 4 + Fertirrega_v6/Debug/Core/Src/adc.o | Bin 748484 -> 782580 bytes Fertirrega_v6/Debug/Core/Src/adc.su | 8 +- .../Debug/Core/Src/ads1015_driver.cyclo | 4 +- Fertirrega_v6/Debug/Core/Src/ads1015_driver.d | 11 +- Fertirrega_v6/Debug/Core/Src/ads1015_driver.o | Bin 758376 -> 814444 bytes .../Debug/Core/Src/ads1015_driver.su | 2 +- .../Debug/Core/Src/analog_loop_driver.d | 4 + .../Debug/Core/Src/analog_loop_driver.o | Bin 745836 -> 779060 bytes .../Debug/Core/Src/digital_outputs_driver.d | 4 + .../Debug/Core/Src/digital_outputs_driver.o | Bin 746292 -> 779828 bytes Fertirrega_v6/Debug/Core/Src/dma.cyclo | 1 + Fertirrega_v6/Debug/Core/Src/dma.d | 59 + Fertirrega_v6/Debug/Core/Src/dma.o | Bin 0 -> 777644 bytes Fertirrega_v6/Debug/Core/Src/dma.su | 1 + .../Debug/Core/Src/flash_manager.cyclo | 4 +- Fertirrega_v6/Debug/Core/Src/flash_manager.d | 4 + Fertirrega_v6/Debug/Core/Src/flash_manager.o | Bin 763616 -> 797044 bytes Fertirrega_v6/Debug/Core/Src/flash_manager.su | 4 +- Fertirrega_v6/Debug/Core/Src/gpio.cyclo | 4 +- Fertirrega_v6/Debug/Core/Src/gpio.d | 4 + Fertirrega_v6/Debug/Core/Src/gpio.o | Bin 747872 -> 781504 bytes Fertirrega_v6/Debug/Core/Src/gpio.su | 4 +- Fertirrega_v6/Debug/Core/Src/i2c.d | 4 + Fertirrega_v6/Debug/Core/Src/i2c.o | Bin 748720 -> 782256 bytes Fertirrega_v6/Debug/Core/Src/main.cyclo | 11 +- Fertirrega_v6/Debug/Core/Src/main.d | 16 +- Fertirrega_v6/Debug/Core/Src/main.o | Bin 796132 -> 839040 bytes Fertirrega_v6/Debug/Core/Src/main.su | 11 +- Fertirrega_v6/Debug/Core/Src/rs485_driver.d | 4 + Fertirrega_v6/Debug/Core/Src/rs485_driver.o | Bin 754644 -> 787868 bytes .../Debug/Core/Src/stm32f1xx_hal_msp.d | 4 + .../Debug/Core/Src/stm32f1xx_hal_msp.o | Bin 742672 -> 776208 bytes .../Debug/Core/Src/stm32f1xx_it.cyclo | 23 +- Fertirrega_v6/Debug/Core/Src/stm32f1xx_it.d | 4 + Fertirrega_v6/Debug/Core/Src/stm32f1xx_it.o | Bin 748332 -> 782404 bytes Fertirrega_v6/Debug/Core/Src/stm32f1xx_it.su | 23 +- Fertirrega_v6/Debug/Core/Src/subdir.mk | 8 +- .../Debug/Core/Src/system_stm32f1xx.d | 4 + .../Debug/Core/Src/system_stm32f1xx.o | Bin 740908 -> 774132 bytes Fertirrega_v6/Debug/Core/Src/tim.cyclo | 3 + Fertirrega_v6/Debug/Core/Src/tim.d | 59 + Fertirrega_v6/Debug/Core/Src/tim.o | Bin 0 -> 781580 bytes Fertirrega_v6/Debug/Core/Src/tim.su | 3 + Fertirrega_v6/Debug/Core/Src/usart.d | 4 + Fertirrega_v6/Debug/Core/Src/usart.o | Bin 749416 -> 782952 bytes .../STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.d | 4 + .../STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o | Bin 752212 -> 785436 bytes .../Src/stm32f1xx_hal_adc.d | 4 + .../Src/stm32f1xx_hal_adc.o | Bin 760156 -> 793380 bytes .../Src/stm32f1xx_hal_adc_ex.d | 4 + .../Src/stm32f1xx_hal_adc_ex.o | Bin 754084 -> 787308 bytes .../Src/stm32f1xx_hal_cortex.d | 4 + .../Src/stm32f1xx_hal_cortex.o | Bin 755284 -> 788508 bytes .../Src/stm32f1xx_hal_dma.d | 4 + .../Src/stm32f1xx_hal_dma.o | Bin 750648 -> 783872 bytes .../Src/stm32f1xx_hal_exti.d | 4 + .../Src/stm32f1xx_hal_exti.o | Bin 745296 -> 778520 bytes .../Src/stm32f1xx_hal_flash.d | 4 + .../Src/stm32f1xx_hal_flash.o | Bin 748236 -> 781460 bytes .../Src/stm32f1xx_hal_flash_ex.d | 4 + .../Src/stm32f1xx_hal_flash_ex.o | Bin 751316 -> 784540 bytes .../Src/stm32f1xx_hal_gpio.d | 4 + .../Src/stm32f1xx_hal_gpio.o | Bin 746616 -> 779840 bytes .../Src/stm32f1xx_hal_gpio_ex.d | 4 + .../Src/stm32f1xx_hal_gpio_ex.o | Bin 740140 -> 773364 bytes .../Src/stm32f1xx_hal_i2c.d | 4 + .../Src/stm32f1xx_hal_i2c.o | Bin 821592 -> 854816 bytes .../Src/stm32f1xx_hal_pwr.d | 4 + .../Src/stm32f1xx_hal_pwr.o | Bin 748684 -> 781908 bytes .../Src/stm32f1xx_hal_rcc.d | 4 + .../Src/stm32f1xx_hal_rcc.o | Bin 753148 -> 786372 bytes .../Src/stm32f1xx_hal_rcc_ex.d | 4 + .../Src/stm32f1xx_hal_rcc_ex.o | Bin 743364 -> 776588 bytes .../Src/stm32f1xx_hal_tim.cyclo | 119 + .../Src/stm32f1xx_hal_tim.d | 58 + .../Src/stm32f1xx_hal_tim.o | Bin 0 -> 863540 bytes .../Src/stm32f1xx_hal_tim.su | 119 + .../Src/stm32f1xx_hal_tim_ex.cyclo | 42 + .../Src/stm32f1xx_hal_tim_ex.d | 58 + .../Src/stm32f1xx_hal_tim_ex.o | Bin 0 -> 808900 bytes .../Src/stm32f1xx_hal_tim_ex.su | 42 + .../Src/stm32f1xx_hal_uart.d | 4 + .../Src/stm32f1xx_hal_uart.o | Bin 793700 -> 826924 bytes .../STM32F1xx_HAL_Driver/Src/subdir.mk | 8 +- Fertirrega_v6/Debug/Fertirrega_v6.elf | Bin 888828 -> 1025072 bytes Fertirrega_v6/Debug/Fertirrega_v6.list | 26209 +++++++++------- Fertirrega_v6/Debug/Fertirrega_v6.map | 2794 +- Fertirrega_v6/Debug/objects.list | 4 + .../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 ++ Fertirrega_v6/Fertirrega_v6.ioc | 91 +- 121 files changed, 35137 insertions(+), 12048 deletions(-) create mode 100644 Fertirrega_v6/.settings/com.st.stm32cube.ide.mcu.sfrview.prefs create mode 100644 Fertirrega_v6/Core/Inc/dma.h create mode 100644 Fertirrega_v6/Core/Inc/tim.h create mode 100644 Fertirrega_v6/Core/Src/dma.c create mode 100644 Fertirrega_v6/Core/Src/tim.c create mode 100644 Fertirrega_v6/Debug/Core/Src/dma.cyclo create mode 100644 Fertirrega_v6/Debug/Core/Src/dma.d create mode 100644 Fertirrega_v6/Debug/Core/Src/dma.o create mode 100644 Fertirrega_v6/Debug/Core/Src/dma.su create mode 100644 Fertirrega_v6/Debug/Core/Src/tim.cyclo create mode 100644 Fertirrega_v6/Debug/Core/Src/tim.d create mode 100644 Fertirrega_v6/Debug/Core/Src/tim.o create mode 100644 Fertirrega_v6/Debug/Core/Src/tim.su create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.cyclo create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.d create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.o create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.su create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.cyclo create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.d create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.o create mode 100644 Fertirrega_v6/Debug/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.su create mode 100644 Fertirrega_v6/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h create mode 100644 Fertirrega_v6/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h create mode 100644 Fertirrega_v6/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h create mode 100644 Fertirrega_v6/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c create mode 100644 Fertirrega_v6/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c diff --git a/Fertirrega_v6/.cproject b/Fertirrega_v6/.cproject index 101edd0..5343474 100644 --- a/Fertirrega_v6/.cproject +++ b/Fertirrega_v6/.cproject @@ -22,7 +22,7 @@