22 Commits

Author SHA1 Message Date
Benjamin Wilson
488473e10e
temp sensor fixes (#484)
* temp sensor fixes

* fix emc2101 external temp sign reading

* reset self test file

* Make the emc2101 changes specific to BM1370

---------

Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
2024-11-16 20:09:32 -05:00
Benjamin Wilson
04b8088f69
add hashrate check to self test (#486)
* add hashrate check to self test

* skip max and ultra for now

---------

Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
2024-11-16 20:03:54 -05:00
Skot
d3e442d212 fix selftest for bitaxe with INA260 2024-10-11 18:10:54 -04:00
Skot
05270849c6
fix self test functions, update example nvs configs with fallback stratum defaults (#405) 2024-10-10 18:15:14 -04:00
Skot
2c41cc9255
Fix a couple missed issues from the fix_warnings PR (#393)
* move ADC_init() before start_http_server() because the UI reads the ADC
* split SYSTEM_init() into separate functions. cleaned up nvs init.
* fix my dumb INA260_init() memory leak
* SYSTEM_init_peripherals() cleanup
2024-10-09 12:52:55 -04: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
Skot
8b22bb2762
Legacy selftest fixes (#346)
* make sure to VCORE_init() and VCORE_set_voltage() no matter what hw version.

* added "PRESS RESET" to selftest endscreen. pulled out magic numbers to #defines

* oops, cleanup

* update 402 power target

* 403+support

---------

Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
2024-09-23 16:11:53 -04:00
Benjamin Wilson
d671ef0d65 improve gamma self tests 2024-09-21 14:17:54 -04:00
Benjamin Wilson
592b4b01b5 cleanup 2024-09-20 21:50:14 -04:00
Benjamin Wilson
b700c6bbf0
Fix overtemp and self tests for gamma (#343) 2024-09-20 19:30:20 -04:00
Skot
4cd7a38b9f rebasing gamma-support on 2.1.10 2024-08-15 18:51:05 -04:00
Benjamin Wilson
336ed3aaa9 Fix low hashrate, fix overheat boot loop 2024-06-22 19:15:25 -04:00
Georges Palauqui
3d6619f534
refactor self_test to be modular for new hardware 2024-06-13 19:22:41 +02:00
Georges Palauqui
c8789269f9
refactor GLOBAL_STATE argument instead of MODULE only 2024-06-12 15:05:14 +02:00
Georges Palauqui
11107a3d32
fix dependancies 2024-06-11 10:14:30 +02:00
Georges Palauqui
5b38d332ce
distribute chip address to all chip available 2024-06-07 15:24:56 +02:00
Georges Palauqui
bc365e6301
make a better usage of vcore module 2024-06-07 14:36:15 +02: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
WantClue
6b41f52c09 selftest update power consumption 2024-04-27 14:20:38 +02:00
Ben
493dbccfe5 Improved when to run self test and fail messages 2024-03-18 00:46:59 -04:00
Benjamin Wilson
2f1a6c5d7d
Self_test (#139)
* self test
2024-03-17 15:37:41 -04:00