MarsTechHAN / ch552tool

An open sourced python tool for flashing WCH CH55x series USB microcontroller with bootloader v2.30, v2.31 & v2.40.
GNU General Public License v3.0
154 stars 24 forks source link

Small improvements for setup.py, add warning if hex file is used #18

Closed BBBSnowball closed 3 years ago

BBBSnowball commented 3 years ago

This pull request adds three small improvements. I can split it if you prefer that:

  1. Add entry point to setup.py. This will add a ch55xtool script to PATH.
  2. Downgrade requirement to pyusb 1.0. My system doesn't have version 1.1 but it works fine with 1.0, so I don't think we actually need 1.1.
  3. Add a warning if a hex file is used.