blackmagic-sys 0.1.0

Bindings to Blackmagic-debug host functions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
Flash Stubs
===========

These are simple routines for programming the flash on various Cortex-M
microcontrollers.  The routines should be provided with the naked attribute
as the stack may not be available, and must not make any function calls.
The stub must call `stub_exit(code)` provided by `stub.h` to return control
to the debugger.  Up to 4 word sized parameters may be taken.

These stubs are compiled instructions comma separated hex values in the
resulting `*.stub` files here, which may be included in the drivers for the
specific device.  The drivers call these flash stubs on the target by calling
`cortexm_run_stub` defined in `cortexm.h`.