Skip to content

Comments

Draft PR for Bitaxe Unit Test#5

Draft
jimbrend wants to merge 3 commits intojohnny9:masterfrom
jimbrend:patch-2
Draft

Draft PR for Bitaxe Unit Test#5
jimbrend wants to merge 3 commits intojohnny9:masterfrom
jimbrend:patch-2

Conversation

@jimbrend
Copy link

@jimbrend jimbrend commented Aug 29, 2024

This should be a unit test for Bitaxe,

This started for a Bitaxe Ultra 220 model,

Creating a file named test_firmware_loading.py that once run should reference in the class TestFirmwareLoading as well the esp-miner.bin file, specify the correct serial port the Bitaxe is plugged into it then update the firmware-- in the future it would be nice to code this for the correct models across the board (no pun attended),

This is calling the method def flash_bitaxe in bitaxetool.py specifically and when run should perform a successful unit test,

Things will need to be altered manually further to fix such as the "NVSGenArgs" object, and correct config.csv files for connection,

Thank you!!

This is a Draft PR and not ready for upstream devs or for a review yet.

esp-miner.binary file, may need to move directory
The Unit test file that calls the correct method to perform the test, will likely need further debugging and customisation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant