blackmagic/scripts
Thomas Jarosch 2641291874 stm32_mem: Fix python3 crash due to mix of tabs and spaces
Fixes this issue:

$ python3 ./stm32_mem.py blackmagic.bin
  File "./stm32_mem.py", line 199
    if (os.path.getsize(args.progfile) > 0x1f800):
                                                 ^
TabError: inconsistent use of tabs and spaces in indentation

and allows to run with python2 too.
2020-09-04 14:19:19 +02:00
..
stubs
README
bootprog.py
dfu-convert.py
dfu.py Made script executable with python3. 2019-08-30 15:09:35 +02:00
gdb.py divide-by-zero fix 2018-03-11 14:35:38 -05:00
get_openocd_nrf51_ids.py
hexprog.py
stm32_mem.py stm32_mem: Fix python3 crash due to mix of tabs and spaces 2020-09-04 14:19:19 +02:00
swolisten.c Fixed overrun and formatting, when dumping data in swolisten. 2020-04-20 00:19:30 +02:00

README

This directory contains some useful scripts for working
on the Black Magic Debug project.

bootprog.py - Production programmer using the STM32 SystemMemory bootloader.
hexprog.py - Write an Intel hex file to a target using the GDB protocol.
stm32_mem.py - Access STM32 Flash memory using USB DFU class interface.

stubs/ - Source code for the microcode strings included in hexprog.py.