Update the README.

We're more portable since last writing. We also shamefully ignore the
bugtracker and blocking changes pages, so drop those for now. Other
tweaks and fixups.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
ADC: Doxygen fixups

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Add win-list-com-ports.py.

Utility for listing COM ports available on the system. Taken from Eli
Bendersky.

Signed-off-by: Marti Bolivar <mbolivar@lozenge.(none)>
<libmaple/scb.h>: Assert LeafLabs copyright.

Signed-off-by: Marti Bolivar <mbolivar@lozenge.(none)>
<libmaple/scb.h>: Don't use BIT().

Also, assert copyright LeafLabs 2012.

Signed-off-by: Marti Bolivar <mbolivar@lozenge.(none)>
<libmaple/scb.h>: Add FIXME to check for F2 compatibility.

Signed-off-by: Marti Bolivar <mbolivar@lozenge.(none)>
reset.py: Remove advisory for 64-bit Linux.

We test on that platform now, and it does work.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
stm32loader.py: Remove unused code.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
stm32loader.py: Use print function.

Towards py3k compatibility.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
stm32loader.py: Don't use Psyco.

This script is I/O bound.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
stm32loader.py: Use new-style classes.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
stm32loader.py: Improve error message on failed init.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
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>
stm32loader.py: Cosmetics.

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>
Add pin alias enums to other boards.

Repeat Anton's VLDiscovery trick on the rest of the boards. Leave out
st_stm3220g_eval since that's just a teaser to get people to play with
F2.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
usb_serial.cpp: Minor tweak.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Hack: Provide a hook so Mini doesn't disable JTAG/SWD.

The nonexistence of a configuration system is starting to become kind
of a pain. Oh well; let's keep piling hacks on until things break.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
usb_cdcacm.c: Resolve TODO and improve comments.

The disc pin code was copy-pasted when the CDC ACM pieces were
extracted from the rest of the USB code, and I didn't really
understand what was going on when I moved it over. Having checked the
spec, the comments can be safely improved.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
usb_cdcacm.c: Add another verification TODO.

Not sure what the comment above the new TODO is supposed to mean, but
it looks like something that should be checked.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
usb_cdcacm: Expose some internal configuration and values.

Mark the API as unstable so people don't rely on these too hard. (This
header is not part of the official libmaple docs). We'll need some of
this configuration elsewhere later, and it doesn't make much sense to
expose it piecemeal.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>