libretiny-eu / ltchiptool

Universal, easy-to-use GUI flashing/dumping tool for BK7231, RTL8710B and RTL8720C.
MIT License
67 stars 4 forks source link

[ambz2] Add elf2bin and flashing support #2

Closed afflux closed 1 year ago

afflux commented 1 year ago

missing bits:

afflux commented 1 year ago

Flashing is completely untested here. Also, note that I used many features from recent python versions after 3.7:

afflux commented 1 year ago

also regarding 49dfddc16347b26c826afa41898ff046532ea570, note that I still use assert, just not for runtime checks. Asserts may not be executed if python is run with -O