14 Commits

Author SHA1 Message Date
mutatrum
a8e46aa34b
Improve i2c error logging (#552) 2025-01-05 00:05:57 +01:00
Skot
e1bf30b26e
Fix compiler warnings (#381)
Fix all compiler warnings and migrate off depreciated ADC and I2C libraries.
---------
Co-authored-by: Erik Olof Gunnar Andersson <eandersson@users.noreply.github.com>
2024-10-08 11:27:32 -04:00
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
7f21f5cad9 support for INA260 DNP 2023-08-28 19:56:04 -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
cb71de0ea1 fixed the endian issue on the INA260 driver 2023-07-01 14:17:01 -04:00
Skot Croshere
167a60bdf3 added ADC functions to read BM1397 Vcore. Cleaned up DS4432U set_vcore() function 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
bab5ac54aa added the DS4432U transfer function for setting the BM1397 core voltage. careful with this one!! 2023-07-01 14:16:07 -04:00