Commit Graph

5 Commits

Author SHA1 Message Date
Nicolas Schodet eafc634eba scripts: more conversion to Python 3, change the shebang line 2022-02-13 15:31:12 -08:00
Theodor M 052b5f830a Made script executable with python3.
Added braces for compatibility with python3, should still be valid python2 which interpretes these braces as a tuple with a single element and simplifies it to that element.
Replaced whitespaces with tabs as required by python3, since indentation must be uniform (either whitespaces or tabs).
Removed trailing whitespaces.

Tested by flashing various STM32 boards with blackmagic firmware using python3.7.
2019-08-30 15:09:35 +02:00
Uwe Bonnes c41dfaef9a stm32_mem.py: Run automatically after switching to DFU mode. 2017-10-02 21:30:56 +02:00
Gareth McMullin 8b65e8e259 Fixed dfu.py to work with PyUSB 1.0. 2011-02-17 16:48:15 +13:00
Gareth McMullin 69d790fcf6 Added programming scripts. 2011-02-04 20:25:12 +13:00