* move ADC_init() before start_http_server() because the UI reads the ADC
* split SYSTEM_init() into separate functions. cleaned up nvs init.
* fix my dumb INA260_init() memory leak
* SYSTEM_init_peripherals() cleanup
* make set version mask a function call
* update name
* update init fuc to support version mask setting
* update parameter spec for bm1397
* parametrize set version rolling and update init func for BM136X +
* add default stratum mask
* update all bmchips with a new set_version_mask ASIC function which can be called in main
* update init func prototype params
* update self test to remove extra vmask call in init
* fix compiler errors
* fix compiler errors in main
* add version_mask_given bool to tell the next job to set a new version mask to the chip when a smg comes in
* 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>
* 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
* 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>
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.