147 Commits

Author SHA1 Message Date
Skot
9f040b2d95
serial sync for 1397 too. 2024-06-12 16:22:56 +02:00
Skot
bd6c11c1b5
added serial sync from @tommywatson 2024-06-12 16:22:54 +02:00
Skot
8d4d66f608
serial hack/fix 2024-06-12 16:22:53 +02:00
johnny9
06e05b5623
Revert "bm1366: add delays in frequency ramp up"
This reverts commit bafa1d4d0de87269cc10f3e2cc3aa1c517529379.
2024-06-12 16:22:52 +02:00
johnny9
2dc7b6f023
bm1366: add delays in frequency ramp up 2024-06-12 16:22:51 +02:00
johnny9
c491931c17
bm1366: fix address assignment order 2024-06-12 16:22:50 +02:00
macphyter
65be8183a1
Revert "Disable hashing"
This reverts commit bc4eb89cf88bcb765df30e5f8f2f1c4a12e36d58.
2024-06-12 16:22:49 +02:00
johnny9
e5db4b91ff
bm1366: set chip addresses 2024-06-12 16:22:48 +02:00
johnny9
2899ac3b59
Disable hashing 2024-06-12 16:22:48 +02:00
Georges Palauqui
11107a3d32
fix dependancies 2024-06-11 10:14:30 +02: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
5b38d332ce
distribute chip address to all chip available 2024-06-07 15:24:56 +02:00
wizkid057
62693c12fd
Add software version string to the stratum mining.subscribe (#197)
lgtm
2024-06-04 11:30:38 -04: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
Benjamin Wilson
a87f1e974c display AP ssid on connecting screen 2024-05-24 20:00:10 -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
WantClue
3c15a050a3 uint fix 2024-03-22 15:33:37 +01:00
Benjamin Wilson
2f1a6c5d7d
Self_test (#139)
* self test
2024-03-17 15:37:41 -04:00
Ben
b958b85d57 fix setting version rolling 2024-03-11 20:37:49 -04:00
Ben
feda6609c1 Correctly identify rejected stratum submission 2024-02-24 23:43:35 -05:00
johnny9
d545eecd61 bm1366: count number of chips on the chain 2024-02-12 23:58:24 -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
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
johnny9
ef44903bbd bm1397: remove unnecessary loggin
Fixes #57
2023-11-29 22:23:10 -05:00
johnny9
407881c8e4 main: send mining.configure before mining.authorize and parse the result
This reverts commit e5009e14ab3f81d22ed2dd594712ed49da5257ea.

Fixes #50
2023-11-29 22:07:51 -05:00
johnny9
9e28576d42 main: Show AP information after wifi fails to connect during startup 2023-09-23 17:35:58 -04:00
johnny9
706ee510ba main: Determine ASIC model from NVS
This adds more hardware information to the example config.cvs.
If the model can't be determined at startup, the device will abort.
2023-09-23 14:27:11 -04:00
Ben
a30a7ef05f Issue 33, add the last four hex digits of the MAC address to the WiFi name 2023-09-19 20:58:37 -04:00
Ben
bb8690ed1a Captive portal when connecting via AP mode 2023-09-17 21:00:46 -04:00
Ben
a4c473188b Add IP address to display and allow editing of voltage, frequency from AxeOS 2023-09-17 00:01:54 -04:00
SatoshyBoy
ed67d44a54 bm13xx: Handle invalid job ids in process_work 2023-09-13 22:06:33 -04:00
johnny9
8c5e8035c6 bm1366: Implement set frequency command 2023-09-10 00:18:38 -04:00
johnny9
9889b22c6b bm13xx: include what you use in common.h 2023-09-07 11:44:18 -04:00
SatoshyBoy
032fe24f2a WIFI Failure
The firmware halts when it loses the wifi connection.
2023-09-04 22:17:47 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Benjamin Wilson
199c151c0f
Http-server (#17)
* rename miner to main

* serving out of storage

* axe os

* http server work

* basic stats showing

* update sdkconfig

* SDKCONFIG

* sdk config

* edit page init

* edit pool config

* pool config edit working

* OTA Success

* remove compiled output

* toggle AP mode with boot button

* favicon

* ota website update

* add sdkconfig.ci back

* update readme

* change website build to warning

* Update github workflow to build web dist

* Allow AP mode before STA connection complete

* spacing for johnny :)

* formatting

* Improve connecting to wifi with AP mode

* added working indicator for UI

* formatting

* formatting

* remove redundant sdkconfig in CMakeLists

* vs code format on save workspace settings

---------

Co-authored-by: johnny9 <985648+johnny9@users.noreply.github.com>
2023-08-26 12:21:41 -04:00
Benjamin Wilson
9bc0671563
Ultra (#15)
Pull BM1366 work into main
2023-08-20 13:09:55 -04:00
Georges Palauqui
87d7e7c5d0
Fix build with IDF-5.1 2023-08-16 16:55:10 +02:00
Skot Croshere
ec9d84e90e set default max_retries to 420 2023-07-01 14:24:02 -04:00
Skot Croshere
ff403395ee wifi connection retry displays on OLED 2023-07-01 14:24:00 -04:00
Skot Croshere
260ba51edb added some basic wifi connection retrys and debugging 2023-07-01 14:23:35 -04:00
Ben
4899ffcbaa still need to set default baud 2023-07-01 14:23:35 -04:00
Ben
700db06f5a even softer start & smarter low voltage recovery 2023-07-01 14:23:35 -04:00
Ben
914b926758 power soft start 2023-07-01 14:23:35 -04:00