41 Commits

Author SHA1 Message Date
johnny9
6b8a9fad29 main: Display an error when ASIC model is invalid
Instead of aborting right away, the Bitaxe will now display
an error on the oled and keep its AP mode available so a user
can still update their device if they need to.
2023-09-26 23:52:22 -04: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
johnny9
e228a77886 main: add version string to oled 2023-09-18 21:57:21 -04:00
johnny9
446c76f994 main: Fix include order in system.c 2023-09-18 21:05:45 -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
Skot
d4affd7ebb deal with the reversed fan speed polarity on the ultra 2023-09-06 15:38:05 -04:00
Ben
7f21f5cad9 support for INA260 DNP 2023-08-28 19:56:04 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -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
9516fcc331 lowercase k means 1000 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
55b9960da7 temperature protection init 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
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
685d8c1979 simplify system nonce notification 2023-07-01 14:23:35 -04:00
Ben
12770f3393 fix jobid for ckpool 2023-07-01 14:23:35 -04:00
Ben
6065ef05a3 Fixed issues with ckpool job id, parameter length, asic init 2023-07-01 14:23:35 -04:00
Ben
a7bae3ce71 Modularized 3 tasks, created global state struct 2023-07-01 14:23:33 -04:00
Ben
b604e0ccc6 cleaning up serial.c 2023-07-01 14:22:35 -04:00
Ben
3d9d1692f2 more cleanup of mb1397 and system 2023-07-01 14:22:10 -04:00
Ben
c148aec820 modulize system, bm1397, cleanup 2023-07-01 14:22:10 -04:00
Ben
ab8d220a03 system.c cleanup 2023-07-01 14:22:10 -04:00
Skot Croshere
bc07e9e33c display units 2023-07-01 14:22:10 -04:00
Ben
a2f6fa0d51 Fix memory leak; improved display and hashrate calculation 2023-07-01 14:22:09 -04:00
Ben
ca65e84bcf cleaning up display 2023-07-01 14:21:40 -04:00
Ben
20eb6ab92e accept/reject share count 2023-07-01 14:21:40 -04:00
Ben
4a1933e185 comment out logging and add more hashrate samples, heap info 2023-07-01 14:21:40 -04:00
Ben
2a830b28c6 adjustments 2023-07-01 14:20:48 -04:00
Ben
b79dbdb4f2 debugging 2023-07-01 14:20:48 -04:00
Ben
18d0f651e8 hashrate calc, WIP 2023-07-01 14:20:48 -04:00
Ben
02e4b0d76d ticket_mask 2023-07-01 14:20:48 -04:00
Ben
d62ce7385c naming and remove IO from asic task 2023-07-01 14:20:48 -04:00
Skot Croshere
d23a55608c added default difficulty to menuconfig and got rid of the I2C pin config 2023-07-01 14:20:48 -04:00
Skot Croshere
ccb094a916 fix some warnings. trying to check nonce diff -- it's not working. 2023-07-01 14:19:51 -04:00
Skot Croshere
bac80831db moved over some BM1397 driver code from bitskipc, renamed main c file 2023-07-01 14:17:01 -04:00
Skot Croshere
7e234ce8d5 moved the system monitor functions to a separate file and task 2023-07-01 14:17:01 -04:00