blackmagic/scripts
Mikaela Szekely db4b568e52 Fix compatibility with dash as /bin/sh.
Ubuntu's default /bin/sh is dash, which does not support the `&>`
redirection syntax. This commit moves version.h generation back into the
Makefile, as 8afaedd had it, but restores compatibility with
GNU Make < 4.0, which 8afaedd, broke. This also fixes building on macOS,
as macOS bundles GNU Make 3.81.
2022-06-12 16:31:00 -07:00
..
stubs Added programming scripts. 2011-02-04 20:25:12 +13:00
README Added programming scripts. 2011-02-04 20:25:12 +13:00
bootprog.py scripts: bootprog.py: use bytes literals 2022-04-15 11:59:40 -07:00
dfu-convert.py scripts: fix dfu-convert.py for Python 3 and drop Python 2 support 2022-02-13 15:31:12 -08:00
dfu.py scripts: more conversion to Python 3, change the shebang line 2022-02-13 15:31:12 -08:00
gdb.py scripts: gdb.py: fix error messages 2022-02-13 15:31:12 -08:00
get_openocd_nrf51_ids.py scripts: more conversion to Python 3, change the shebang line 2022-02-13 15:31:12 -08:00
hexprog.py scripts: hexprog.py: minor fixes 2022-02-13 15:31:12 -08:00
stm32_mem.py scripts: stm32_mem.py: change some formatting, remove unused imports 2022-02-13 15:31:12 -08: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.