diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-24 18:33:39 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-24 18:35:21 -0400 |
commit | 81014c9dc82e9bf8f9507c00d71bb9609b9c79a6 (patch) | |
tree | 326ffa3894585b9cb54ed67a99d958b3fd5ca149 /examples/test-session.cpp | |
parent | 48ad581c4e56e93391f05109a0a8080584b0feeb (diff) | |
download | librambutan-81014c9dc82e9bf8f9507c00d71bb9609b9c79a6.tar.gz librambutan-81014c9dc82e9bf8f9507c00d71bb9609b9c79a6.zip |
stm32loader.py: Updates for F2 and F4.
Support the extended erase memory command, which replaced the erase
memory command in the bootloader protocol as of version 3.0. This
takes a long time, so tweak _wait_for_ask to take an extra timeout for
special cases like this.
Use this under if __name__ == '__main__' to support F2 and
F4. Additionally, produce a human-readable report of the target chip
from its chip ID.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'examples/test-session.cpp')
0 files changed, 0 insertions, 0 deletions