Open nhangeland opened 2 years ago
Same error here:
$ ./hidprogram
Traceback (most recent call last):
File "./hidprogram", line 19, in <module>
"bk7231": bkutils.CHIP_TYPE_BK7231,
AttributeError: module 'bkutils' has no attribute 'CHIP_TYPE_BK7231'
Reverting the commit mentioned by @nhangeland solves the issue. Apparently, according to README.md, HID usage is "disabled in this repo":
After installing according to instructions, i received this error message when trying to run hidprogram.
AttributeError: module 'bkutils' has no attribute 'CHIP_TYPE_BK7231'
Issue seems to be related to this commit: https://github.com/OpenBekenIOT/hid_download_py/commit/137a4c9298e3274c05d76c63720c6db675bf441d
Uncommenting the lines solved the issue.