321 Commits

Author SHA1 Message Date
Nathan Day
e760af7831
Changes efficiency metric display in AxeOS (#231)
Fixes https://github.com/skot/ESP-Miner/issues/230
2024-06-19 10:08:03 +02:00
Georges Palauqui
5cf16e1bcf
fix another pointer error 2024-06-18 08:21:17 +02:00
tommywatson
00a3a0ba3d
Code clean resulting from looking into #218 (#220)
* Code clean resulting from looking into #218

* Fixed asic count

Set canary value for invalid device's asic_count

---------

Co-authored-by: tommy <tommy@tommywatson.com>
2024-06-18 08:18:51 +02:00
Skot
344c5d8d22 adjust share accpeted/rejected functions to take higher level GLOBAL_STATE to fix share accounting. 2024-06-17 16:30:03 -04:00
Georges
10c331a400
Supra 402 (#221)
* port TCH Supra 402 branch

* refactor TMP1075 (unused?) driver using i2c_master module

* pulled in @Bitmaker-hub stratum_task.c DNS changes from PR #185

* removing serial debug

---------

Co-authored-by: Skot <skot@bitnet.cx>
2024-06-14 16:09:08 -04:00
Georges Palauqui
3d6619f534
refactor self_test to be modular for new hardware 2024-06-13 19:22:41 +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 2024-06-08 10:03:29 -04: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 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 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) 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 2024-05-26 14:34:47 -04:00
Benjamin Wilson
a87f1e974c display AP ssid on connecting screen 2024-05-24 20:00:10 -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
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
pixel::doc
6a1c814928
API: Change similar / duplicate JSON Key fanSpeed and fanspeed
Change fanSpeed to fanSpeedRpm
2024-04-25 10:38:47 +02: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
Ben
a5daff7b01 401 configs 2024-03-18 00:59:35 -04: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
Ben
eb55394d0a fix restart button visibility for mobile devices 2024-03-14 22:20:34 -04:00
Ben
4cb30a19a4 typo 2024-03-14 22:15:41 -04:00
Ben
90da2cdece fix restart button 2024-03-11 23:08:54 -04:00
Ben
e23e23db5f BM1368 voltage dropdown, log scrolling, restart button 2024-03-11 22:36:45 -04:00