734 Commits

Author SHA1 Message Date
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
Johnny
6d76741af8
ci: Create build github workflow 2023-08-23 21:28:29 -04:00
Skot Croshere
8880f1702f add fan speed back to ultra 2023-08-22 15:13:43 -04:00
Benjamin Wilson
9bc0671563
Ultra (#15)
Pull BM1366 work into main
2023-08-20 13:09:55 -04:00
Georges
a3cdc67d19
Merge pull request #14 from skot/idf-5.1
Idf 5.1 migration
2023-08-18 15:56:42 +02:00
Georges Palauqui
6e85ccb49f
update readme 2023-08-16 16:57:42 +02:00
Georges Palauqui
87d7e7c5d0
Fix build with IDF-5.1 2023-08-16 16:55:10 +02:00
Georges Palauqui
2012fbba8b Use our Public-Pool by default 2023-08-14 12:25:43 +02:00
Ben
e137116dc1 restart esp32 on socket unable to connect 2023-07-10 16:10:34 -04:00
Ben
0200b82b33 immediately dequeue work 2023-07-01 21:09:49 -04:00
johnny9
807bfb54c3 readme: specify BitAxe in the supported targets v1.0 2023-07-01 15:41:26 -04:00
johnny9
1993748b52 readme: fix title 2023-07-01 15:39:16 -04:00
johnny9
7aacd072c2 cleanup: remove unused crc.py module 2023-07-01 15:37:59 -04:00
johnny9
bef7e6b7a0 config: remove bm1397 configurations until they are supported 2023-07-01 15:35:49 -04:00
johnny9
4c7d2de33d LICENSE: switch to GPL v3 2023-07-01 14:34:26 -04:00
Skot Croshere
9516fcc331 lowercase k means 1000 2023-07-01 14:24:02 -04: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
Skot Croshere
9f22c21f17 added suffixes to best_difficulty display 2023-07-01 14:23:35 -04:00
Ben
9b2bbc754a removing soft start for now and gitignore 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
14c267e69d use nvs for mining result 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
Ben
e8f36e89fa frequency throttling during voltage drops 2023-07-01 14:23:35 -04:00
johnny9
6949b73bb9 nvs_config: introduce configuration through NVS
Stratum and Wifi configuration can now be read from NVS on the
flash. An example config.cvs file is included and can be used
to generate the partition and then be flashed to the esp32 using
the esp-idf parttool.py.
2023-07-01 14:23:35 -04:00
Ben
1540703850 increased throttle temp 2023-07-01 14:23:35 -04:00
Ben
55b9960da7 temperature protection init 2023-07-01 14:23:35 -04:00
Skot Croshere
4896d1255b typo 2023-07-01 14:23:35 -04:00
Skot Croshere
486f35694e switched to the recommended wifi station example 2023-07-01 14:23:35 -04:00
Skot Croshere
51b3d344ed cleanup connect Kconfig 2023-07-01 14:23:35 -04:00
Skot Croshere
7226f569eb cleanup connect defines 2023-07-01 14:23:35 -04:00
Skot Croshere
a3b798de7a switch to separate connect component 2023-07-01 14:23:35 -04:00
Skot Croshere
134d990090 cleanup comments and include 2023-07-01 14:23:35 -04:00
Skot Croshere
71a660948c accept stratum hostname or IP 2023-07-01 14:23:35 -04:00
Ben
af22994402 Move the asic response handling into its own task 2023-07-01 14:23:35 -04:00
johnny9
bc326499ea stratum: parse version-rolling config result 2023-07-01 14:23:35 -04:00
johnny9
c7de2c0795 bm1397: add multiple midstates using version mask
Job packets can have more that 1 midstate. If the stratum supports
version-rolling, calculate additional midstates by incrementing
the version with the version_mask provided by the stratum server.
Currently does 4 midstates for each extranonce2.
2023-07-01 14:23:35 -04:00
Ben
1e63f35888 display will now show if block found ;) 2023-07-01 14:23:35 -04:00
Ben
1b75644b67 added back stratum unit tests 2023-07-01 14:23:35 -04:00
Ben
23ac4cfacc changed clock sync from ntp time to pool ntime 2023-07-01 14:23:35 -04:00
Ben
d9da5dd52d system diff calculations 2023-07-01 14:23:35 -04:00
Ben
4eac4e8cf9 Expire stratum jobs after 5 mins 2023-07-01 14:23:35 -04:00
Ben
685d8c1979 simplify system nonce notification 2023-07-01 14:23:35 -04:00
Ben
2171e55e14 reorder STRATUM_V1_submit_share params to fit api 2023-07-01 14:23:35 -04:00
Ben
ba384294b5 comments 2023-07-01 14:23:35 -04:00
Ben
8755a8fcbc rervet changes - stratum messages must have unique id 2023-07-01 14:23:35 -04:00
Ben
b43697b9eb comments 2023-07-01 14:23:35 -04:00
Ben
12770f3393 fix jobid for ckpool 2023-07-01 14:23:35 -04:00