16 Commits

Author SHA1 Message Date
Georges Palauqui
2d15d447e0
refactor: split vcore out from ds4432 driver, to make it an abstraction of whatever hardware is regulating vcore (making room for TPS546) 2024-06-06 12:14:15 +02:00
Georges
c9865a5e0a
Optimization: i2c factorization (#202)
* optim: factorize i2c_master_init() and i2c_master_delete()

* optim: factorize register_read() and register_write_byte()
2024-06-05 18:53:30 -04:00
tdb3
28d61cd027
refactor: deduplicate i2c parameters
Pulls common i2c macros (e.g. GPIO pins, speed, etc.)
into a common header, to deduplicate and increase
maintainability.
Also adds missing include for DS4432U.h in DS4432U.c.
2024-05-27 11:43:29 -04:00
Ben
dea4a7587b remove log and fix unplugged fan speed 2023-11-14 23:02:42 -05:00
Ben
c911b8e0ec PWM fan control 2023-10-31 19:40:22 -04:00
Ben
ef71810bba EMC2101 should read internal temp if BM1366 2023-09-06 17:22:08 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Georges Palauqui
87d7e7c5d0
Fix build with IDF-5.1 2023-08-16 16:55:10 +02:00
Skot Croshere
d23a55608c added default difficulty to menuconfig and got rid of the I2C pin config 2023-07-01 14:20:48 -04:00
Skot Croshere
ccb094a916 fix some warnings. trying to check nonce diff -- it's not working. 2023-07-01 14:19:51 -04:00
Skot Croshere
0dee975e59 cleanup 2023-07-01 14:17:01 -04:00
Skot Croshere
4be57fef83 added chip temp to EMC2101.c 2023-07-01 14:17:01 -04:00
Skot Croshere
5ca33a8656 fan speed can be 16 bit 2023-07-01 14:17:01 -04:00
Skot Croshere
4b01c67d50 Fan speed seems to be working, Added some INA260 tests. doesn't seem like power is working yet 2023-07-01 14:17:01 -04:00
Skot Croshere
d9b4e0e4f0 Added the start to a EMC2101 driver. Setting fan speed works, reading fan speed doesn't. 2023-07-01 14:16:58 -04:00
Skot Croshere
bab5ac54aa added the DS4432U transfer function for setting the BM1397 core voltage. careful with this one!! 2023-07-01 14:16:07 -04:00