654 Commits

Author SHA1 Message Date
Georges Palauqui
3d6619f534
refactor self_test to be modular for new hardware 2024-06-13 19:22:41 +02:00
Georges Palauqui
2070108814
fix readme 2024-06-13 10:04:32 +02:00
Georges Palauqui
2dff706225
code refactor: prepare room for HEX 2024-06-12 16:21:59 +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
d21b26e1e8
add more explaination about the DS4432+TPS40305 regulate voltage 2024-06-11 10:12:35 +02:00
Georges Palauqui
87b4c1c72f
add new i2c_master_register_write_word() in i2c_master 2024-06-11 10:11:27 +02:00
Georges
deb76ac058
Merge pull request #206 from skot/multi-chip
Multi chip support
2024-06-10 10:14:41 +02:00
Georges Palauqui
5e305ba6c7
no need to introuce new NVS parameters, they can be derived from the device_model ! 2024-06-10 10:02:36 +02:00
Benjamin Wilson
92924f72c6 Move power management task above wifi to prevent over heating v2.1.8 2024-06-08 10:03:29 -04:00
Georges Palauqui
17852f03c5
oups 2024-06-07 21:59:04 +02:00
Georges Palauqui
95a2a8c605
loop over regA8 for all chips 2024-06-07 21:52:12 +02:00
Georges Palauqui
525beb7379
dynamic Hashrate calculation in AxeOS (with multi chip support) 2024-06-07 15:26:36 +02:00
Georges Palauqui
271d091b03
cosmetic 2024-06-07 15:26:34 +02:00
Georges Palauqui
771210e8f1
scale job rate to nonce space sharing between multi chips 2024-06-07 15:24:58 +02:00
Georges Palauqui
5b38d332ce
distribute chip address to all chip available 2024-06-07 15:24:56 +02:00
Georges Palauqui
8756581da6
add support for multi asic in multi voltage domain 2024-06-07 15:24:54 +02:00
Georges Palauqui
bc365e6301
make a better usage of vcore module 2024-06-07 14:36:15 +02:00
Georges Palauqui
27376e5b75
remove useless enum values 2024-06-07 14:05:11 +02:00
Georges
4d8d7abaf5
Merge pull request #205 from skot/refactor-vcore
refactor: split vcore out from ds4432 driver, to make it an abstracti…
2024-06-06 13:58:45 +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
Skot
56209223f2
moved the DNS lookup inside the stratum connection retry loop (#204) 2024-06-05 17:31:35 -04:00
WantClue
8b94e5a084 adding short and long button press 2024-06-05 23:19:09 +02:00
Georges
abe6d2815c
Merge pull request #188 from tdb3/dedup_i2c_params
refactor: deduplicate i2c parameters
2024-06-05 09:38:44 +02:00
wizkid057
f2fda4e5f1
Add quick link to stats when mining on OCEAN (#200)
Lgtm
2024-06-04 21:10:20 -04:00
Georges
38fb4ae999
Merge pull request #198 from skot/optim-strcmp
Small optimization : avoid strcmp
2024-06-04 18:59:17 +02:00
wizkid057
62693c12fd
Add software version string to the stratum mining.subscribe (#197)
lgtm
2024-06-04 11:30:38 -04:00
Georges Palauqui
22393a4f68
avoid strcmp 2024-06-04 17:06:45 +02:00
Skot
4bda726f38
update system hashrate on every chip share, not just pool shares. (#196) v2.1.7 2024-06-02 09:06:00 -04:00
Skot
11c1d087a8
Stratum message ordering fix (#192)
* rough strategy for this fix. needs testing
* seems to be working with OCEAN. need to make sure nothing else is broken
* add version mask debug
* removed stratum setup response results from A/R shares tally
2024-05-31 17:43:10 -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
Benjamin Wilson
00d5a7386f bug fixes for ws logs and restart request v2.1.6 2024-05-26 14:34:47 -04:00
Benjamin Wilson
a87f1e974c display AP ssid on connecting screen v2.1.5 2024-05-24 20:00:10 -04:00
Skot
e30e9ddf6b add update image script 2024-05-24 13:30:52 -04:00
MoellerDi
ec4af81479
issue #100 resolved - ASIC not always starting/hashing after boot (due to race condition) (#152)
* fix ASIC not starting - order is important

* Revert "fix ASIC not starting - order is important"

This reverts commit c313a6f3e7a54e02a6b43315f641c44fcab051d2.

* better approach resolving race condition in serial communication; moving serial from ASIC_task / ASIC_result_task to app_main()
2024-05-23 23:18:44 -04:00
MoellerDi
afd4a30985
add best difficulty since system boot (#162) 2024-05-23 22:57:00 -04:00
pixel::doc
e4fcfdca83
Add more Logging to esp_restart (#179) 2024-05-23 22:55:31 -04:00
MoellerDi
0072a0f5c8
add option to configure hostname (#174) 2024-05-23 22:54:39 -04:00
MoellerDi
1da7132b6a
fix stratum parsing not always counting rejected shares (#163)
* fix stratum parsing not counting rejected messages

* add unit tests
2024-05-23 22:53:05 -04:00
Benjamin Wilson
b53b641c68 Remove wifi max retry, remove max fan speed on reboot 2024-05-23 22:34:11 -04:00
Skot
36cbaea96b update example cvs for 401 v2.1.4 2024-05-22 15:30:13 -04:00
Skot
19e6369ac2 changed the default should_self_test to be 0 if NVS_CONFIG_SELF_TEST "selftest" is not present in nvs for #177 2024-05-21 16:40:16 -04:00
WantClue
6b41f52c09 selftest update power consumption 2024-04-27 14:20:38 +02:00
WantClue
4359500e88
Merge pull request #170 from pixeldoc2000/patch-1
API: System Info change similar / duplicate JSON Key fanSpeed and fanspeed
2024-04-27 09:57:26 +02:00
pixel::doc
6a1c814928
API: Change similar / duplicate JSON Key fanSpeed and fanspeed
Change fanSpeed to fanSpeedRpm
2024-04-25 10:38:47 +02:00
Skot
47b0293691
Update issue templates 2024-04-05 16:36:55 -04:00
MoellerDi
6283a68d4b
fix Best Difficulty can not be > 4.29G (#155)
* fix best_nonce_diff, uint32_t is too small

* best_nonce_diff as uint64_t
2024-03-29 10:37:19 -04:00
WantClue
0bbf99b88c
Merge pull request #151 from WantClue/uint-fix
uint fix
2024-03-22 15:38:07 +01:00
WantClue
3c15a050a3 uint fix 2024-03-22 15:33:37 +01:00