aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/stm32f1/usb_reg_map.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-07-24 18:33:39 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-07-24 18:35:21 -0400
commit81014c9dc82e9bf8f9507c00d71bb9609b9c79a6 (patch)
tree326ffa3894585b9cb54ed67a99d958b3fd5ca149 /libmaple/usb/stm32f1/usb_reg_map.c
parent48ad581c4e56e93391f05109a0a8080584b0feeb (diff)
downloadlibrambutan-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 'libmaple/usb/stm32f1/usb_reg_map.c')
0 files changed, 0 insertions, 0 deletions