aboutsummaryrefslogtreecommitdiff
path: root/flashstub/README
blob: 155c8d9c116fcc777352cd46c8de677e411c04ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Flash Stubs
===========

For most of the targets, these are assembler routines for executing
a flash write on the supported targets.  They are kept here for
reference, but are not used, as the compiled binary code is included
in the target drivers.

For the STM32l0x, the stubs are written in C++ and emitted as arrays
of half-words for inclusion in the target driver.  The use of a higher
level language allows more detailed code and for easy revisions.
These stubs communicate with the driver through a structure defined in
the src/include/stm32l0-nvm.h header.