509 Commits

Author SHA1 Message Date
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
Ben
15db0465d5 added supra hashrate estimate 2024-03-03 19:35:54 -05:00
Ben
69e3c4bb81 axeos refactor init 2024-02-25 12:36:43 -05:00
Skot
3df855d9b4 Add BM1368 support
co-authored-by: John-Paul Compagnone <jpcompagnone@epicblockchain.io>
co-authored-by: johnny9 <985648+johnny9@users.noreply.github.com>
co-authored-by: Ben <wilsob12@gmail.com>
2024-02-10 13:37:39 -05:00
Ben
f09d01d809 remove debug 2024-01-13 15:11:44 -05:00
Ben
c9b5b65275 set version mask on mining.configure 2024-01-13 15:08:56 -05:00
Ben
794af8d7b7 stratum password 2024-01-13 11:06:01 -05:00
Ben
ef344f236d added logic for barrel jack and voltage regulator switch, board version 2024-01-13 00:05:45 -05:00
Skot
174ef21b18
Changed order of stratum messages for #80 2024-01-09 22:57:51 -05:00
Ben
9f2817266f Merge branch 'master' of https://github.com/skot/ESP-Miner 2024-01-08 18:26:05 -05:00
Ben
205fbe9700 fixed wifi password, added links to latest firmware 2024-01-08 18:26:01 -05:00
Skot
dade418921
Network resets2 (#74)
Fixes #55
* added error log message and retry when stratum can't connect
* handle dns_gethostbyname() failures
2024-01-08 00:06:04 -05:00
Ben
a78045d550 add placeholder for wifi pass 2024-01-07 12:34:17 -05:00