[Gnuk-users] [PATCH] BUG/MINOR: stlinkv2.py: Use modern python concatenation
NIIBE Yutaka
gniibe at fsij.org
Tue Jul 28 14:08:02 UTC 2015
On 01/18/2015 09:36 AM, Bertrand Jacquin wrote:
> The following error can be observed when VERIFY is in progress:
>
> $ python2.7 ./tool/stlinkv2.py ./src/build/gnuk.bin
> ST-Link/V2 version info: 2 17 4
> Change ST-Link/V2 mode 0001 -> 0001
> CORE: 1ba01477, CHIP_ID: 20036410
> Flash ROM read protection: off
> Option bytes: ffff5aa5
> SPI Flash ROM ID: bf254a
> WRITE
> VERIFY
> TypeError('can only concatenate tuple (not "array.array") to tuple',)
While I'm using Python3 with newer PyUSB, I incorporated the change of
stlinkv2.py (which is in master branch now).
I tested with:
Python2.7 with PyUSB 0.4.3
Python3.4 with PyUSB 1.0.0b2
Thank you for the report.
--
More information about the gnuk-users
mailing list