Commit graph

13 commits

Author SHA1 Message Date
Thomas Kolb b6c7888321 Blink LED on startup
Afterwards, the LED shows whether the fan is (or should be) currently on.
2024-02-09 19:20:52 +01:00
Thomas Kolb aea2abc9ea Adjust pinout and add LED support for HW Rev. B 2024-02-09 19:07:52 +01:00
Thomas Kolb 7a62eb9d11 fan_ctrl_dc: bypass the DC/DC when 100% fan speed is requested 2024-02-09 19:06:50 +01:00
Thomas Kolb 7e9917a8f5 DMA clock has to be enabled, too 2023-10-01 20:33:44 +02:00
Thomas Kolb 99a5f2bda2 temp_sensor: internal temperature sensor is not available on STM32F010 :( 2023-10-01 20:32:52 +02:00
Thomas Kolb 860ea0e768 fan_ctrl_pwm: properly set pin mode to alternate function 2023-10-01 20:32:07 +02:00
Thomas Kolb fd1b4990e2 Move all configuration variables to the EEPROM 2023-09-30 21:08:54 +02:00
Thomas Kolb 2819ee99d6 Improvements to main loop + build fixes
- add -lm linker flag
- add fan power management
2023-09-29 22:09:12 +02:00
Thomas Kolb d526341b75 temp_sensor: temporarily add functions missing in the STM32L0 library
These functions are available in the libopencm3, but only for the
STM32F0. However, they should work with very little changes also for the
STM32L0, but have not been ported yet. Therefore I'm quickly testing
them here.
2023-09-29 22:07:05 +02:00
Thomas Kolb 12b5c8f7f4 Fixed the NTC temperature calculation 2023-09-29 20:50:16 +02:00
Thomas Kolb f5756a4f64 Implement control loop 2023-09-29 19:55:51 +02:00
Thomas Kolb 82d370bf83 Started implementing the hardware access modules
Nothing tested yet…
2023-09-23 17:34:32 +02:00
Thomas Kolb 5aaef38965 Initial commit: basic infrastructure 2023-09-20 22:19:11 +02:00