Fri Dec 26 19:34:17 EST 2014


How to make a small bootloader / gdb stub?

I have a bunch of STM32F103C8 boards with limited memory.  A gdb stub
is a good example of an application where it pays off greatly to keep
the code small.

How small can it get?  What about using this as a challenge?

Most of the code seems to go in the USB driver..  Pulling this out of
the libopencm3 library code would be tedious manual error-prone work.
Maybe not a good use of time after all..