| Age | Commit message (Collapse) | Author |
|
For Python 3 support.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Move the actual QUIET setting to above mdebug(); that was
confusing. Rename _wait_for_ask to _wait_for_ack.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
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>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
This script is I/O bound.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Towards py3k compatibility.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
|
|
This provides DMA, IWDG, PWR, and BKP support, and fixes several bugs.
Conflicts:
libmaple/adc.h
libmaple/libmaple.h
libmaple/ring_buffer.h
|
|
|
|
|
|
|
|
treated as a timeout.
|
|
|
|
|