aboutsummaryrefslogtreecommitdiff
path: root/flashstub/README
diff options
context:
space:
mode:
Diffstat (limited to 'flashstub/README')
-rw-r--r--flashstub/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/flashstub/README b/flashstub/README
index 155c8d9..90d164c 100644
--- a/flashstub/README
+++ b/flashstub/README
@@ -11,3 +11,9 @@ 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.
+
+The dump-to-array.sh helper script uses sed to transform the output of
+'objdump -d' into a half-word array of the instructions that may be
+included in C code to declare the stub. FWIW, objcopy doesn't produce
+the same output as objdump. It omits some of the instructions,
+probably because the object file isn't linked.